From: Paul Eggert Date: Sun, 9 Jul 2006 19:48:45 +0000 (+0000) Subject: (flags_argmatch): Return void, not int, X-Git-Tag: v2.3b~335 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/80ac75bcb69c3396f1a69bf9e68c48dfd041b42e?ds=inline (flags_argmatch): Return void, not int, to pacify ./configure --enable-gcc-warnings. --- diff --git a/src/getargs.c b/src/getargs.c index 7c69d8e2..6961ab3b 100644 --- a/src/getargs.c +++ b/src/getargs.c @@ -81,8 +81,8 @@ extern char *program_name; * * The special value 0 resets the flags to 0. */ -static int -flags_argmatch (const char *option, +static void +flags_argmatch (const char *option, const char * const keys[], const int values[], int *flags, char *args) { @@ -103,7 +103,7 @@ flags_argmatch (const char *option, *flags = ~0; } -/** Decode a set of sub arguments. +/** Decode a set of sub arguments. * * \param FlagName the flag familly to update. * \param args the effective sub arguments to decode.