aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/s390/include/asm/string.h8
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 */
139void *memchr(const void * s, int c, size_t n);
140void *memscan(void *s, int c, size_t n);
141char *strcat(char *dst, const char *src);
142char *strcpy(char *dst, const char *src);
143size_t strlen(const char *s);
144size_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__ */