summaryrefslogtreecommitdiff
path: root/src/rtc.c
diff options
context:
space:
mode:
authorMarijn van der Werf <marijn.vanderwerf@gmail.com>2016-12-01 03:51:24 +0100
committerYamaArashi <YamaArashi@users.noreply.github.com>2016-11-30 18:51:24 -0800
commit4258e60771aa9fdabd678930eca534423bd371b8 (patch)
treeecca2ee7641abc0562f39b6c7dd907af2184e102 /src/rtc.c
parent831f8cd4fd94613d6b52d87df1b4903bedfaa717 (diff)
Declare more non-static functions in header files (#111)
* Declare more non-static functions in header files * Use `(void)` for functions without arguments. * Move global-included data to seperate headers * Don't import types or global in header * Fix fieldmap imports * Revert in-code changes * Add missing newlines
Diffstat (limited to 'src/rtc.c')
-rw-r--r--src/rtc.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/rtc.c b/src/rtc.c
index 805f2062b..3d24253b9 100644
--- a/src/rtc.c
+++ b/src/rtc.c
@@ -1,5 +1,4 @@
#include "global.h"
-#include "siirtc.h"
#include "rtc.h"
#include "string_util.h"
#include "text.h"
@@ -29,19 +28,6 @@ static const s32 sNumDaysInMonths[12] =
31,
};
-void RtcDisableInterrupts();
-void RtcRestoreInterrupts();
-u32 ConvertBcdToBinary(u8 bcd);
-bool8 IsLeapYear(u8 year);
-u16 ConvertDateToDayCount(u8 year, u8 month, u8 day);
-u16 RtcGetDayCount(struct SiiRtcInfo *rtc);
-void RtcGetInfo(struct SiiRtcInfo *rtc);
-void RtcGetDateTime(struct SiiRtcInfo *rtc);
-void RtcGetStatus(struct SiiRtcInfo *rtc);
-void RtcGetRawInfo(struct SiiRtcInfo *rtc);
-u16 RtcCheckInfo(struct SiiRtcInfo *rtc);
-void RtcCalcTimeDifference(struct SiiRtcInfo *rtc, struct Time *result, struct Time *t);
-
void RtcDisableInterrupts()
{
sSavedIme = REG_IME;