* getopt1.c (getopt_long_only): Fix thinko.
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Sun, 27 Mar 2005 17:13:15 +0000 (17:13 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 27 Mar 2005 17:13:15 +0000 (17:13 +0000)
From-SVN: r97114

libiberty/ChangeLog
libiberty/getopt1.c

index e6cfb1558587508619377b83cf07f45c89fd9112..c4fe00519fd139d008f2cd0f4a3dd45431e77577 100644 (file)
@@ -1,3 +1,7 @@
+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.
index d423aef10eeb92997d1076c6aa82ff58044ec509..81371d52b4ded86dbd76084810b3fcf730a51d37 100644 (file)
@@ -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);