From 4258e60771aa9fdabd678930eca534423bd371b8 Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Thu, 1 Dec 2016 03:51:24 +0100 Subject: 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 --- src/rtc.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/rtc.c') 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; -- cgit v1.2.3