summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/string.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/string.h b/include/linux/string.h
index 9e47fe01c16..a28150fa578 100644
--- a/include/linux/string.h
+++ b/include/linux/string.h
@@ -101,10 +101,9 @@ size_t strcspn(const char *s, const char *reject);
# define strndup sandbox_strndup
#endif
-#ifndef __HAVE_ARCH_STRDUP
extern char * strdup(const char *);
extern char * strndup(const char *, size_t);
-#endif
+
#ifndef __HAVE_ARCH_STRSWAB
extern char * strswab(const char *);
#endif