summaryrefslogtreecommitdiff
path: root/arch/s390/lib/string.c
diff options
context:
space:
mode:
authorRoland Dreier <roland@topspin.com>2004-07-28 09:10:10 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-07-28 09:10:10 -0700
commit27c49d8c8f70d22a0ebf5a00487e6b5da176cade (patch)
tree90d58322612763a1938b385e67bc5c71a63c2778 /arch/s390/lib/string.c
parent1831c884507a8edfa294ec67a697bce4e68903c4 (diff)
[PATCH] Export all functions in lib/string.c
Quite a few functions in lib/string.c are not exported. I ran into this trying to use strnchr() in a module. This patch - exports every function defined in lib/string.c - adds some missing __HAVE_ARCH_xxx defines for i386 - gets rid of the exports of functions from lib/string.c in arch/s390 (BTW, why is s390 exporting things NOVERS?) Signed-off-by: Roland Dreier <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/s390/lib/string.c')
-rw-r--r--arch/s390/lib/string.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/s390/lib/string.c b/arch/s390/lib/string.c
index dea4957d05d5..966af7c52429 100644
--- a/arch/s390/lib/string.c
+++ b/arch/s390/lib/string.c
@@ -394,12 +394,3 @@ void *memset(void *s, int c, size_t n)
return s;
}
EXPORT_SYMBOL_NOVERS(memset);
-
-/*
- * missing exports for string functions defined in lib/string.c
- */
-EXPORT_SYMBOL_NOVERS(memmove);
-EXPORT_SYMBOL_NOVERS(strchr);
-EXPORT_SYMBOL_NOVERS(strnchr);
-EXPORT_SYMBOL_NOVERS(strncmp);
-EXPORT_SYMBOL_NOVERS(strpbrk);