diff options
Diffstat (limited to 'src/string')
-rw-r--r-- | src/string/strchr.c | 2 | ||||
-rw-r--r-- | src/string/strcpy.c | 2 | ||||
-rw-r--r-- | src/string/strcspn.c | 2 | ||||
-rw-r--r-- | src/string/strncpy.c | 2 | ||||
-rw-r--r-- | src/string/strrchr.c | 2 |
5 files changed, 0 insertions, 10 deletions
diff --git a/src/string/strchr.c b/src/string/strchr.c index bfae8f9f..3cbc828b 100644 --- a/src/string/strchr.c +++ b/src/string/strchr.c @@ -1,7 +1,5 @@ #include <string.h> -char *__strchrnul(const char *, int); - char *strchr(const char *s, int c) { char *r = __strchrnul(s, c); diff --git a/src/string/strcpy.c b/src/string/strcpy.c index 2883e930..6668a129 100644 --- a/src/string/strcpy.c +++ b/src/string/strcpy.c @@ -1,7 +1,5 @@ #include <string.h> -char *__stpcpy(char *, const char *); - char *strcpy(char *restrict dest, const char *restrict src) { __stpcpy(dest, src); diff --git a/src/string/strcspn.c b/src/string/strcspn.c index cfdba114..a0c617bd 100644 --- a/src/string/strcspn.c +++ b/src/string/strcspn.c @@ -3,8 +3,6 @@ #define BITOP(a,b,op) \ ((a)[(size_t)(b)/(8*sizeof *(a))] op (size_t)1<<((size_t)(b)%(8*sizeof *(a)))) -char *__strchrnul(const char *, int); - size_t strcspn(const char *s, const char *c) { const char *a = s; diff --git a/src/string/strncpy.c b/src/string/strncpy.c index 441ba033..545892e6 100644 --- a/src/string/strncpy.c +++ b/src/string/strncpy.c @@ -1,7 +1,5 @@ #include <string.h> -char *__stpncpy(char *, const char *, size_t); - char *strncpy(char *restrict d, const char *restrict s, size_t n) { __stpncpy(d, s, n); diff --git a/src/string/strrchr.c b/src/string/strrchr.c index 635fb3c1..98ad1b04 100644 --- a/src/string/strrchr.c +++ b/src/string/strrchr.c @@ -1,7 +1,5 @@ #include <string.h> -void *__memrchr(const void *, int, size_t); - char *strrchr(const char *s, int c) { return __memrchr(s, c, strlen(s) + 1); |