getopt: correct details of prototype (cc65 cares about the difference)
authorAlan Cox <alan@linux.intel.com>
Sat, 30 Sep 2017 18:18:47 +0000 (19:18 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 30 Sep 2017 18:18:47 +0000 (19:18 +0100)
Library/include/getopt.h

index 5c15e0d..374acc5 100644 (file)
@@ -8,6 +8,6 @@ extern char *optarg;
 extern int opterr;
 extern int optind;
 
-extern int getopt(int __argc, char **__argv, char *__shortopts);
+extern int getopt(int __argc, char *__argv[], char *__shortopts);
 
 #endif /* __GETOPT_H */