From 6f5be1abf7a9b83edfe86ca81b31e786bcc710c8 Mon Sep 17 00:00:00 2001 From: Di-an Jan Date: Mon, 17 Nov 2008 11:01:41 +0100 Subject: [PATCH] Handle --enable-gcc-warnings. * src/getargs.c (command_line_location): Set parameters to void. --- ChangeLog | 5 +++++ src/getargs.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2c876aa2..e4c83d24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-11-17 Di-an Jan + + Handle --enable-gcc-warnings. + * src/getargs.c (command_line_location): Set parameters to void. + 2008-11-11 Akim Demaille AT_FULL_COMPILE. diff --git a/src/getargs.c b/src/getargs.c index a8d1c548..45557733 100644 --- a/src/getargs.c +++ b/src/getargs.c @@ -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; /* "" is used in GCC's messages about -D. */ -- 2.47.2