comparison lib-src/getopt.c @ 22146:84e894dcafbb gcc-2_8_1-980525 gcc-2_8_1-980529 gcc-2_8_1-980608 gcc-2_8_1-980609

automatically generated from GPLed version
author Ulrich Drepper <drepper@redhat.com>
date Tue, 19 May 1998 07:09:32 +0000
parents 1a370f7cc0c1
children 1a697e2604c3
comparison
equal deleted inserted replaced
22145:4f926f1609e6 22146:84e894dcafbb
199 in GCC. */ 199 in GCC. */
200 # include <string.h> 200 # include <string.h>
201 # define my_index strchr 201 # define my_index strchr
202 #else 202 #else
203 203
204 # if HAVE_STRING_H
205 # include <string.h>
206 # else
207 # include <strings.h>
208 # endif
209
204 /* Avoid depending on library functions or files 210 /* Avoid depending on library functions or files
205 whose names are inconsistent. */ 211 whose names are inconsistent. */
206 212
207 #ifndef getenv 213 #ifndef getenv
208 extern char *getenv (); 214 extern char *getenv ();
209 #endif
210 #ifndef strncmp
211 extern int strncmp ();
212 #endif 215 #endif
213 216
214 static char * 217 static char *
215 my_index (str, chr) 218 my_index (str, chr)
216 const char *str; 219 const char *str;