Beispiel #1
0
void inc_hour(dstime *t, int i)
{
        t->hour += i;
        if(t->hour >= 24) {
                inc_day(t, 1);
                t->hour -= 24;
        }
}
Beispiel #2
0
Datei: ui.c Projekt: russells/hc2
static inline void inc_settime_day(struct UI *me) {
	inc_day(&me->settime);
}