Diff for /np2/calendar.c between versions 1.1 and 1.4

version 1.1, 2003/10/16 17:57:06 version 1.4, 2004/02/18 21:58:41
Line 8 Line 8
         _CALENDAR       cal;          _CALENDAR       cal;
   
   
 static const BYTE days[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};  static const UINT8 days[12] = { 31, 28, 31, 30, 31, 30,
                                                                   31, 31, 30, 31, 30, 31};
   
 static void secinc(_SYSTIME *dt) {  static void secinc(_SYSTIME *dt) {
   
Line 25  static void secinc(_SYSTIME *dt) { Line 26  static void secinc(_SYSTIME *dt) {
                 goto secinc_exit;                  goto secinc_exit;
         }          }
         dt->minute = 0;          dt->minute = 0;
         dt->hour = 0;          dt->hour++;
         if (dt->hour < 24) {          if (dt->hour < 24) {
                 goto secinc_exit;                  goto secinc_exit;
         }          }
Line 88  static void date2bcd(BYTE *bcd, const _S Line 89  static void date2bcd(BYTE *bcd, const _S
   
 // -----  // -----
   
 void calendar_init(void) {  void calendar_initialize(void) {
   
         timemng_gettime(&cal.dt);          timemng_gettime(&cal.dt);
         cal.steps = 0;          cal.steps = 0;

Removed from v.1.1  
changed lines
  Added in v.1.4


RetroPC.NET-CVS <cvs@retropc.net>