diff options
Diffstat (limited to 'include/linux/string.h')
| -rw-r--r-- | include/linux/string.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/string.h b/include/linux/string.h index b8508868d5ad..651839a2a755 100644 --- a/include/linux/string.h +++ b/include/linux/string.h | |||
| @@ -62,7 +62,15 @@ extern char * strnchr(const char *, size_t, int); | |||
| 62 | #ifndef __HAVE_ARCH_STRRCHR | 62 | #ifndef __HAVE_ARCH_STRRCHR |
| 63 | extern char * strrchr(const char *,int); | 63 | extern char * strrchr(const char *,int); |
| 64 | #endif | 64 | #endif |
| 65 | extern char * __must_check strstrip(char *); | 65 | extern char * __must_check skip_spaces(const char *); |
| 66 | |||
| 67 | extern char *strim(char *); | ||
| 68 | |||
| 69 | static inline __must_check char *strstrip(char *str) | ||
| 70 | { | ||
| 71 | return strim(str); | ||
| 72 | } | ||
| 73 | |||
| 66 | #ifndef __HAVE_ARCH_STRSTR | 74 | #ifndef __HAVE_ARCH_STRSTR |
| 67 | extern char * strstr(const char *,const char *); | 75 | extern char * strstr(const char *,const char *); |
| 68 | #endif | 76 | #endif |
