From: Martin Mares Date: Sat, 4 Dec 2010 17:33:09 +0000 (+0100) Subject: compat/getopt.c: Fixed a typo in declaration of getopt_long() X-Git-Tag: v3.1.8~14 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=4c2bdb019375b5b2167959a167710791225b6670;p=pciutils.git compat/getopt.c: Fixed a typo in declaration of getopt_long() --- 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); }