]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Small changed to reduce the number of warnings.
authorOndrej Filip <feela@network.cz>
Mon, 14 Feb 2005 11:58:46 +0000 (11:58 +0000)
committerOndrej Filip <feela@network.cz>
Mon, 14 Feb 2005 11:58:46 +0000 (11:58 +0000)
nest/config.Y
sysdep/unix/timer.h

index 744c0692dd7c374d5b4e29191e4ea8f9d16710aa..91c3363b28fff30dd7a71867b991a8fe56bba709 100644 (file)
@@ -241,7 +241,7 @@ password_begin_list:
   PASSWORDS {
      this_p_list = cfg_alloc(sizeof(list));
      init_list(this_p_list);
-     $$ = this_p_list;
+     $$ = (void *) this_p_list;
   }
 ;
 
@@ -257,7 +257,7 @@ password_begin:
      this_p_item->accto = TIME_INFINITY;
      this_p_item->id = 1;
      add_tail(this_p_list, &this_p_item->n);
-     $$ = this_p_list;
+     $$ = (void *) this_p_list;
   }
 ;
 
index 5d22bb91d82f67cc8caa0526cd8a8d6265a33ab3..608dabb82a4b6494210116e75b194c4193f1850f 100644 (file)
@@ -33,6 +33,7 @@ void tm_dump_all(void);
 extern bird_clock_t now;               /* Time in seconds since unknown epoch */
 
 bird_clock_t tm_parse_date(char *);    /* Convert date to bird_clock_t */
+bird_clock_t tm_parse_datetime(char *);        /* Convert date to bird_clock_t */
 void tm_format_date(char *, bird_clock_t);     /* Convert bird_clock_t to date */
 #define TM_DATE_BUFFER_SIZE 12         /* Buffer size required by tm_format_date */
 void tm_format_datetime(char *, bird_clock_t); /* Convert bird_clock_t to date + time */