From: Erik van der Kouwe Date: Mon, 17 Aug 2009 18:49:07 +0000 (+0000) Subject: Fixed some warnings X-Git-Tag: v3.1.5~184 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=fdf47c1046586b8b9da64df0419a0ae11ffffad7;p=minix.git Fixed some warnings --- diff --git a/commands/flex-2.5.4/libmain.c b/commands/flex-2.5.4/libmain.c index 079e1eb6a..3a5dabaab 100644 --- a/commands/flex-2.5.4/libmain.c +++ b/commands/flex-2.5.4/libmain.c @@ -2,7 +2,7 @@ /* $Header$ */ -extern int yylex(); +extern int yylex(void); int main( argc, argv ) int argc; diff --git a/commands/flex-2.5.4/libyywrap.c b/commands/flex-2.5.4/libyywrap.c index aa2cb1376..25a0cda61 100644 --- a/commands/flex-2.5.4/libyywrap.c +++ b/commands/flex-2.5.4/libyywrap.c @@ -2,7 +2,7 @@ /* $Header$ */ -int yywrap() +int yywrap(void) { return 1; } diff --git a/commands/flex-2.5.4/main.c b/commands/flex-2.5.4/main.c index 23fd81799..8ed002a9b 100644 --- a/commands/flex-2.5.4/main.c +++ b/commands/flex-2.5.4/main.c @@ -353,7 +353,7 @@ int exit_status; { int tblsiz; - int unlink(); + int unlink(const char *); if ( skelfile != NULL ) {