summaryrefslogtreecommitdiffstats
path: root/contrib/gperf/lib/getopt.c.patch
blob: 6fedd84a8315ee7a49db2bc68046845448424fd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
getopt.c is a modified version of the getopt.c found in the glibc snapshot
on 1998-04-14. Below the patch that has been applied to this file. The glibc
maintainer has been informed of these patches.

diff -c3 getopt.c.orig getopt.c
*** getopt.c.orig	Sun Mar  8 16:06:55 1998
--- getopt.c	Thu Apr 16 00:09:41 1998
***************
*** 201,207 ****
  /* Avoid depending on library functions or files
     whose names are inconsistent.  */
  
! char *getenv ();
  
  static char *
  my_index (str, chr)
--- 201,208 ----
  /* Avoid depending on library functions or files
     whose names are inconsistent.  */
  
! extern char *getenv ();
! extern int strncmp ();
  
  static char *
  my_index (str, chr)
OpenPOWER on IntegriCloud