From 4c2bdb019375b5b2167959a167710791225b6670 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 4 Dec 2010 18:33:09 +0100 Subject: [PATCH] compat/getopt.c: Fixed a typo in declaration of getopt_long() --- compat/getopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/getopt.c b/compat/getopt.c index 6a53fa9..1d0beb7 100644 --- a/compat/getopt.c +++ b/compat/getopt.c @@ -619,7 +619,7 @@ int getopt(int argc, char *const *argv, const char *optstring) return _getopt_internal(argc, argv, optstring, (const struct option *) 0, (int *) 0, 0); } -int getopt_long(int argc, char *const *argv, const char *options, const struct option long_options, int *opt_index) +int getopt_long(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, 0); } -- 2.39.2