File: gcc-15.patch

package info (click to toggle)
midicsv 1.1%2Bdfsg.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 348 kB
  • sloc: ansic: 1,355; perl: 471; makefile: 159
file content (16 lines) | stat: -rw-r--r-- 632 bytes parent folder | download
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) {