bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

flags_argmatch should return void, not int


From: Paul Eggert
Subject: flags_argmatch should return void, not int
Date: Sun, 09 Jul 2006 12:49:51 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

I installed this:

2006-07-09  Paul Eggert  <address@hidden>

        * src/getargs.c (flags_argmatch): Return void, not int,
        to pacify ./configure --enable-gcc-warnings.

--- src/getargs.c       9 Jul 2006 17:01:22 -0000       1.76
+++ src/getargs.c       9 Jul 2006 19:39:40 -0000
@@ -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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]