mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 14:53:03 +00:00
(flags_argmatch): Return void, not int,
to pacify ./configure --enable-gcc-warnings.
This commit is contained in:
@@ -81,8 +81,8 @@ extern char *program_name;
|
|||||||
*
|
*
|
||||||
* The special value 0 resets the flags to 0.
|
* The special value 0 resets the flags to 0.
|
||||||
*/
|
*/
|
||||||
static int
|
static void
|
||||||
flags_argmatch (const char *option,
|
flags_argmatch (const char *option,
|
||||||
const char * const keys[], const int values[],
|
const char * const keys[], const int values[],
|
||||||
int *flags, char *args)
|
int *flags, char *args)
|
||||||
{
|
{
|
||||||
@@ -103,7 +103,7 @@ flags_argmatch (const char *option,
|
|||||||
*flags = ~0;
|
*flags = ~0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Decode a set of sub arguments.
|
/** Decode a set of sub arguments.
|
||||||
*
|
*
|
||||||
* \param FlagName the flag familly to update.
|
* \param FlagName the flag familly to update.
|
||||||
* \param args the effective sub arguments to decode.
|
* \param args the effective sub arguments to decode.
|
||||||
|
|||||||
Reference in New Issue
Block a user