diff options
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/include/asm/string.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/s390/include/asm/string.h b/arch/s390/include/asm/string.h index d074673a6d9b..adf079170aa6 100644 --- a/arch/s390/include/asm/string.h +++ b/arch/s390/include/asm/string.h | |||
@@ -135,7 +135,13 @@ static inline size_t strnlen(const char * s, size_t n) | |||
135 | : "+a" (end), "+a" (tmp) : "d" (r0) : "cc"); | 135 | : "+a" (end), "+a" (tmp) : "d" (r0) : "cc"); |
136 | return end - s; | 136 | return end - s; |
137 | } | 137 | } |
138 | 138 | #else /* IN_ARCH_STRING_C */ | |
139 | void *memchr(const void * s, int c, size_t n); | ||
140 | void *memscan(void *s, int c, size_t n); | ||
141 | char *strcat(char *dst, const char *src); | ||
142 | char *strcpy(char *dst, const char *src); | ||
143 | size_t strlen(const char *s); | ||
144 | size_t strnlen(const char * s, size_t n); | ||
139 | #endif /* !IN_ARCH_STRING_C */ | 145 | #endif /* !IN_ARCH_STRING_C */ |
140 | 146 | ||
141 | #endif /* __KERNEL__ */ | 147 | #endif /* __KERNEL__ */ |