Skip to content
This repository
Browse code

automatically generated from GPLed version

  • Loading branch information...
commit f7ee70117069a957b144be41f88a2be5e23a5a7a 1 parent 5cdc6c8
authored May 19, 1998

Showing 1 changed file with 6 additions and 3 deletions. Show diff stats Hide diff stats

  1. 9  lib-src/getopt.c
9  lib-src/getopt.c
@@ -201,15 +201,18 @@ static char *posixly_correct;
201 201
 # define my_index	strchr
202 202
 #else
203 203
 
  204
+# if HAVE_STRING_H
  205
+#  include <string.h>
  206
+# else
  207
+#  include <strings.h>
  208
+# endif
  209
+
204 210
 /* Avoid depending on library functions or files
205 211
    whose names are inconsistent.  */
206 212
 
207 213
 #ifndef getenv
208 214
 extern char *getenv ();
209 215
 #endif
210  
-#ifndef strncmp
211  
-extern int strncmp ();
212  
-#endif
213 216
 
214 217
 static char *
215 218
 my_index (str, chr)

0 notes on commit f7ee701

Please sign in to comment.
Something went wrong with that request. Please try again.