]> mj.ucw.cz Git - pciutils.git/blobdiff - compat/getopt.c
compat/getopt.c: Fixed a typo in declaration of getopt_long()
[pciutils.git] / 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);
 }