From: Di-an Jan Date: Mon, 17 Nov 2008 10:01:41 +0000 (+0100) Subject: Handle --enable-gcc-warnings. X-Git-Tag: v2.5_rc1~278 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/6f5be1abf7a9b83edfe86ca81b31e786bcc710c8?ds=inline Handle --enable-gcc-warnings. * src/getargs.c (command_line_location): Set parameters to void. --- diff --git a/ChangeLog b/ChangeLog index 2c876aa2..e4c83d24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-11-17 Di-an Jan + + Handle --enable-gcc-warnings. + * src/getargs.c (command_line_location): Set parameters to void. + 2008-11-11 Akim Demaille AT_FULL_COMPILE. diff --git a/src/getargs.c b/src/getargs.c index a8d1c548..45557733 100644 --- a/src/getargs.c +++ b/src/getargs.c @@ -497,7 +497,7 @@ static struct option const long_options[] = /* Build a location for the current command line argument. */ static location -command_line_location() +command_line_location (void) { location res; /* "" is used in GCC's messages about -D. */