1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Author: Andreas Tille <tille@debian.org>
Last-Update: 2025-06-15
Bug-Debian: https://bugs.debian.org/1097395
Description: Add proper parameters to match the system declaration of index()
--- a/getopt.c
+++ b/getopt.c
@@ -73,7 +73,7 @@ int Getopt(int nargc, char *nargv[], cha
static char *place = EMSG; /* option letter processing */
static char *lastostr = (char *) 0;
register char *oli; /* option letter list index */
- char *index();
+ char *index(const char *s, int c);
/* LANCE PATCH: dynamic reinitialization */
if (ostr != lastostr) {
|