From 3dacf02edbe8266cde9c9618350541cd8dee1993 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sat, 14 Jan 2023 19:52:45 -0500 Subject: Delete ffs and strrchr prototypes. We use __builtin_ffs instead of ffs. strrchr is not used. Also removed the commented out memset implementation since it is implemented in arch-specific code. Message-Id: --- include/string.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') diff --git a/include/string.h b/include/string.h index cddcbeb9..91c5fe46 100644 --- a/include/string.h +++ b/include/string.h @@ -42,8 +42,6 @@ extern char *strcpy (char *dest, const char *src); extern char *strncpy (char *dest, const char *src, size_t n); -extern char *strrchr (const char *s, int c); - extern char *strsep (char **strp, const char *delim); extern int strcmp (const char *s1, const char *s2) __attribute__ ((pure)); @@ -54,6 +52,4 @@ extern size_t strlen (const char *s) __attribute__ ((pure)); extern char *strstr(const char *haystack, const char *needle); -extern int ffs(int i); - #endif /* _MACH_SA_SYS_STRING_H_ */ -- cgit v1.2.3