From: gdr Date: Sun, 27 Mar 2005 17:13:15 +0000 (+0000) Subject: * getopt1.c (getopt_long_only): Fix thinko. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=84565a750863f0e8cb3f5bf137d257fa56901dd8;p=thirdparty%2Fgcc.git * getopt1.c (getopt_long_only): Fix thinko. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97114 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index e6cfb1558587..c4fe00519fd1 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2005-03-27 Gabriel Dos Reis + + * getopt1.c (getopt_long_only): Fix thinko. + 2005-03-27 Gabriel Dos Reis Convert libiberty to use ISO C prototype style 4/n. diff --git a/libiberty/getopt1.c b/libiberty/getopt1.c index d423aef10eeb..81371d52b4de 100644 --- a/libiberty/getopt1.c +++ b/libiberty/getopt1.c @@ -78,7 +78,7 @@ getopt_long (int argc, char *const *argv, const char *options, instead. */ int -getopt_long_only (int argc, char *const *argv, const struct option *options, +getopt_long_only (int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index) { return _getopt_internal (argc, argv, options, long_options, opt_index, 1);