HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4e7db3
)
automatically generated from GPLed version
author
Ulrich Drepper
<drepper@redhat.com>
Tue, 19 May 1998 07:09:32 +0000
(07:09 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Tue, 19 May 1998 07:09:32 +0000
(07:09 +0000)
lib-src/getopt.c
patch
|
blob
|
blame
|
history
diff --git
a/lib-src/getopt.c
b/lib-src/getopt.c
index
395d597
..
03effcb
100644
(file)
--- a/
lib-src/getopt.c
+++ b/
lib-src/getopt.c
@@
-201,15
+201,18
@@
static char *posixly_correct;
# define my_index strchr
#else
+# if HAVE_STRING_H
+# include <string.h>
+# else
+# include <strings.h>
+# endif
+
/* Avoid depending on library functions or files
whose names are inconsistent. */
#ifndef getenv
extern char *getenv ();
#endif
-#ifndef strncmp
-extern int strncmp ();
-#endif
static char *
my_index (str, chr)