diff options
Diffstat (limited to 'include/linux/string.h')
-rw-r--r-- | include/linux/string.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/string.h b/include/linux/string.h index 2e22a2e58f3a..e40099e585c9 100644 --- a/include/linux/string.h +++ b/include/linux/string.h | |||
@@ -40,9 +40,6 @@ extern int strcmp(const char *,const char *); | |||
40 | #ifndef __HAVE_ARCH_STRNCMP | 40 | #ifndef __HAVE_ARCH_STRNCMP |
41 | extern int strncmp(const char *,const char *,__kernel_size_t); | 41 | extern int strncmp(const char *,const char *,__kernel_size_t); |
42 | #endif | 42 | #endif |
43 | #ifndef __HAVE_ARCH_STRNICMP | ||
44 | #define strnicmp strncasecmp | ||
45 | #endif | ||
46 | #ifndef __HAVE_ARCH_STRCASECMP | 43 | #ifndef __HAVE_ARCH_STRCASECMP |
47 | extern int strcasecmp(const char *s1, const char *s2); | 44 | extern int strcasecmp(const char *s1, const char *s2); |
48 | #endif | 45 | #endif |
@@ -115,7 +112,10 @@ extern void * memchr(const void *,int,__kernel_size_t); | |||
115 | #endif | 112 | #endif |
116 | void *memchr_inv(const void *s, int c, size_t n); | 113 | void *memchr_inv(const void *s, int c, size_t n); |
117 | 114 | ||
115 | extern void kfree_const(const void *x); | ||
116 | |||
118 | extern char *kstrdup(const char *s, gfp_t gfp); | 117 | extern char *kstrdup(const char *s, gfp_t gfp); |
118 | extern const char *kstrdup_const(const char *s, gfp_t gfp); | ||
119 | extern char *kstrndup(const char *s, size_t len, gfp_t gfp); | 119 | extern char *kstrndup(const char *s, size_t len, gfp_t gfp); |
120 | extern void *kmemdup(const void *src, size_t len, gfp_t gfp); | 120 | extern void *kmemdup(const void *src, size_t len, gfp_t gfp); |
121 | 121 | ||