]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Fix compiler warnings in getdate.c
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 6 Jul 2009 09:49:26 +0000 (11:49 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 6 Jul 2009 09:49:26 +0000 (11:49 +0200)
getdate.c

index e4819bd04074f1ad03b6c963f5ed83b8ddccabfd..daf7468654d3d2cd8e9256a91eb7939e025d9afc 100644 (file)
--- a/getdate.c
+++ b/getdate.c
@@ -140,8 +140,8 @@ extern time_t               mktime ();
 #define yytable  gd_yytable
 #define yycheck  gd_yycheck
 
-static int yylex ();
-static int yyerror ();
+static int yylex (void);
+static int yyerror (char *s);
 
 #define EPOCH          1970
 #define HOUR(x)                ((x) * 60)