git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CAPI: Call a controller 'controller', not 'card'
[pandora-kernel.git]
/
include
/
linux
/
string.h
diff --git
a/include/linux/string.h
b/include/linux/string.h
index
651839a
..
a716ee2
100644
(file)
--- a/
include/linux/string.h
+++ b/
include/linux/string.h
@@
-72,7
+72,10
@@
static inline __must_check char *strstrip(char *str)
}
#ifndef __HAVE_ARCH_STRSTR
}
#ifndef __HAVE_ARCH_STRSTR
-extern char * strstr(const char *,const char *);
+extern char * strstr(const char *, const char *);
+#endif
+#ifndef __HAVE_ARCH_STRNSTR
+extern char * strnstr(const char *, const char *, size_t);
#endif
#ifndef __HAVE_ARCH_STRLEN
extern __kernel_size_t strlen(const char *);
#endif
#ifndef __HAVE_ARCH_STRLEN
extern __kernel_size_t strlen(const char *);