]> git.saurik.com Git - bison.git/commitdiff
(flags_argmatch): Return void, not int,
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 9 Jul 2006 19:48:45 +0000 (19:48 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 9 Jul 2006 19:48:45 +0000 (19:48 +0000)
to pacify ./configure --enable-gcc-warnings.

src/getargs.c

index 7c69d8e2426a8ba314fe6cacf2747c5a12100bb7..6961ab3b3e6462d2dc4c27261bc2fed5377da07a 100644 (file)
@@ -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.