mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
Handles several --enable-gcc-warnings.
* src/getargs.c (command_line_location): Set parameters to void. * src/output.c (symbol_type_name_cmp): Make static. (symbols_by_type_name): Set parameters to void. (symbol_definitions_output): Remove unused parameter. Rename as... (prepare_symbol_definitions): this. (muscles_output): Move symbol_definitions_output to... (output): here as prepare_symbol_definitions. * tests/c++.at (AT_CHECK_VARIANTS): Remove unused parameters of main. (AT_CHECK_NAMESPACE): Make unused parameter lloc unnamed.
This commit is contained in:
@@ -499,7 +499,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;
|
||||
/* "<command line>" is used in GCC's messages about -D. */
|
||||
|
||||
Reference in New Issue
Block a user