]> mj.ucw.cz Git - pciutils.git/commitdiff
compat/getopt.c: Fixed a typo in declaration of getopt_long()
authorMartin Mares <mj@ucw.cz>
Sat, 4 Dec 2010 17:33:09 +0000 (18:33 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 4 Dec 2010 17:33:09 +0000 (18:33 +0100)
compat/getopt.c

index 6a53fa9b33aa32410e64984c60310d92cfbef587..1d0beb76953e787571a3e3faa276279d82a2305c 100644 (file)
@@ -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);
 }