diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-12-02 22:37:02 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-12-02 22:37:02 +0000 |
commit | f823497bd9d420a2cf83fa56f5090d4227ba73f5 (patch) | |
tree | 41bb9695e53c4cebdd6241f5f90f623bdb80a584 /lib/getopt.c.patch | |
parent | 20ea4fec1d2bbdc73a92e7a0d9da462a841f7492 (diff) | |
download | src-f823497bd9d420a2cf83fa56f5090d4227ba73f5.tar.gz src-f823497bd9d420a2cf83fa56f5090d4227ba73f5.zip |
Flatten gperf
Reviewed by: cognet
Approved by: cognet
Notes
Notes:
svn path=/vendor/gperf/dist/; revision=228212
Diffstat (limited to 'lib/getopt.c.patch')
-rw-r--r-- | lib/getopt.c.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/getopt.c.patch b/lib/getopt.c.patch new file mode 100644 index 000000000000..6fedd84a8315 --- /dev/null +++ b/lib/getopt.c.patch @@ -0,0 +1,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) |