MonsterCommit(tm) with typo-fixes, void-ness fixes, correct CaPs for directories, etc. No real code changes.

This commit is contained in:
waltje
2017-08-24 01:14:39 -04:00
parent 7cf0e24caa
commit 2ffedb680b
142 changed files with 1229 additions and 991 deletions

View File

@@ -48,7 +48,7 @@ static int rtc_get_days(int org_month, int org_year)
}
/* Called when the internal clock gets updated */
static void rtc_recalc()
static void rtc_recalc(void)
{
if (internal_clock.sec == 60)
{
@@ -78,7 +78,7 @@ static void rtc_recalc()
}
/* Called when ticking the second */
void rtc_tick()
void rtc_tick(void)
{
internal_clock.sec++;
rtc_recalc();
@@ -125,7 +125,7 @@ void time_update(char *nvrram, int reg)
}
/* Called to obtain the current day of the week based on the internal clock */
static int time_week_day()
static int time_week_day(void)
{
int day_of_month = internal_clock.mday;
int month2 = internal_clock.mon;