summaryrefslogtreecommitdiff
path: root/libiberty/getopt1.c
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-27 17:13:15 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-27 17:13:15 +0000
commit84565a750863f0e8cb3f5bf137d257fa56901dd8 (patch)
treec9ea1db48db2bde3bc561c7a450d26cda58237eb /libiberty/getopt1.c
parent8858115ecd90fe07d0a95c42b929420e4bf0d1a4 (diff)
downloadgcc-84565a750863f0e8cb3f5bf137d257fa56901dd8.tar.gz
* getopt1.c (getopt_long_only): Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97114 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/getopt1.c')
-rw-r--r--libiberty/getopt1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/getopt1.c b/libiberty/getopt1.c
index d423aef10ee..81371d52b4d 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);