MSRC=string.c
MOBJ=strlen.o strcat.o strcpy.o strchr.o strcmp.o strncat.o strncpy.o \
strncmp.o strrchr.o strdup.o memcpy.o memccpy.o memset.o \
- memmove.o memcmp.o memchr.o ffs.o strnlen.o index.o rindex.o \
- strxfrm.o strcoll.o
+ memmove.o memcmp.o memchr.o ffs.o strnlen.o strxfrm.o
MSRC1=strsignal.c
MOBJ1=strsignal.o psignal.o
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#if HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#if defined _LIBC || HAVE_STRING_H
-# include <string.h>
-#else
-# include <strings.h>
-# ifndef strchr
-# define strchr index
-# endif
-#endif
-
-#undef strcspn
+#include <string.h>
/* Return the length of the maximum initial segment of S
which contains no characters from REJECT. */
return c1 - c2;
}
-#endif
-#ifdef L_strcoll
__asm__(".weak strcoll; strcoll = strcmp");
-#endif
+#endif
/********************** Function strncat ************************************/
return 0;
}
-#endif
-#ifdef L_index
__asm__(".weak index; index = strchr");
#endif
}
return prev;
}
-#endif
-#ifdef L_rindex
__asm__(".weak rindex; rindex = strrchr");
#endif