Handle --enable-gcc-warnings.
authorDi-an Jan <dianj@freeshell.org>
Mon, 17 Nov 2008 10:01:41 +0000 (11:01 +0100)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Mon, 6 Apr 2009 08:28:51 +0000 (04:28 -0400)
* src/getargs.c (command_line_location): Set parameters to void.

ChangeLog
src/getargs.c

index 2c876aa2f202690343e7745290210b1fcb9cdaa9..e4c83d24529235ce20a5e60669bfbb268cbbe954 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index a8d1c5480ddb519257ff353e05b673daea27fc44..45557733c6c5770168aea0cf5516883f98f8cd04 100644 (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. */