Port strnstr.c to newlib.

This commit is contained in:
Sichen Zhao 2017-08-25 15:35:39 +08:00 committed by Corinna Vinschen
parent 3437665ac8
commit c206d04422
2 changed files with 4 additions and 0 deletions

View File

@ -121,6 +121,9 @@ size_t _EXFUN(strnlen,(const char *, size_t));
#if __BSD_VISIBLE
char *_EXFUN(strsep,(char **, const char *));
#endif
#if __BSD_VISIBLE
char *strnstr(const char *, const char *, size_t) __pure;
#endif
#if __MISC_VISIBLE
char *_EXFUN(strlwr,(char *));

View File

@ -40,6 +40,7 @@ GENERAL_SOURCES = \
strncmp.c \
strncpy.c \
strnlen.c \
strnstr.c \
strpbrk.c \
strrchr.c \
strsep.c \