diff options
author | Gabriel Dos Reis <gdr@integrable-solutions.net> | 2005-03-27 17:13:15 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2005-03-27 17:13:15 +0000 |
commit | e78410c1641d779d85481c88c00169fd1ef58793 (patch) | |
tree | c9ea1db48db2bde3bc561c7a450d26cda58237eb | |
parent | 6da879de228e86b6a571e93f311462259f246f91 (diff) | |
download | gcc-e78410c1641d779d85481c88c00169fd1ef58793.zip gcc-e78410c1641d779d85481c88c00169fd1ef58793.tar.gz gcc-e78410c1641d779d85481c88c00169fd1ef58793.tar.bz2 |
* getopt1.c (getopt_long_only): Fix thinko.
From-SVN: r97114
-rw-r--r-- | libiberty/ChangeLog | 4 | ||||
-rw-r--r-- | libiberty/getopt1.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index e6cfb15..c4fe005 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,5 +1,9 @@ 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> + * getopt1.c (getopt_long_only): Fix thinko. + +2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> + Convert libiberty to use ISO C prototype style 4/n. * hashtab.c (higher_prime_index, hash_pointer, eq_pointer, htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2, diff --git a/libiberty/getopt1.c b/libiberty/getopt1.c index d423aef..81371d5 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); |