From 03a7f82cb4e0b273afbd1de04603a26a467e94c9 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Fri, 31 Oct 2014 14:20:02 -0400 Subject: NetBSD downstream patches. const fixes. -Wconversion fixes for the skeleton files. param namespace protection (add _ to inline function parameters). unused variable/code removal. rename warn to lwarn to avoid conflict with . ctype.h function argument correction. merged the error functions lerrif and lerrsf -> lerr. --- src/libmain.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/libmain.c') diff --git a/src/libmain.c b/src/libmain.c index 49262e4..d4d5b6d 100644 --- a/src/libmain.c +++ b/src/libmain.c @@ -21,13 +21,12 @@ /* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */ /* PURPOSE. */ -extern int yylex (); +extern int yylex (void); -int main (argc, argv) - int argc; - char *argv[]; +int main (int argc, char *argv[]) { - while (yylex () != 0) ; + while (yylex () != 0) + continue; return 0; } -- cgit v1.2.3