Handle --enable-gcc-warnings.

* src/getargs.c (command_line_location): Set parameters to void.
This commit is contained in:
Di-an Jan
2008-11-17 11:01:41 +01:00
committed by Joel E. Denny
parent 11c4e57daf
commit 6f5be1abf7
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2008-11-17 Di-an Jan <dianj@freeshell.org>
Handle --enable-gcc-warnings.
* src/getargs.c (command_line_location): Set parameters to void.
2008-11-11 Akim Demaille <demaille@gostai.com>
AT_FULL_COMPILE.

View File

@@ -497,7 +497,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. */