Add gperf 3.0.1.
[dragonfly.git] / contrib / gperf-3.0.1 / lib / getopt.c.patch
1 getopt.c is a modified version of the getopt.c found in the glibc snapshot
2 on 1998-04-14. Below the patch that has been applied to this file. The glibc
3 maintainer has been informed of these patches.
4
5 diff -c3 getopt.c.orig getopt.c
6 *** getopt.c.orig       Sun Mar  8 16:06:55 1998
7 --- getopt.c    Thu Apr 16 00:09:41 1998
8 ***************
9 *** 201,207 ****
10   /* Avoid depending on library functions or files
11      whose names are inconsistent.  */
12   
13 ! char *getenv ();
14   
15   static char *
16   my_index (str, chr)
17 --- 201,208 ----
18   /* Avoid depending on library functions or files
19      whose names are inconsistent.  */
20   
21 ! extern char *getenv ();
22 ! extern int strncmp ();
23   
24   static char *
25   my_index (str, chr)