summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKyle McMartin <kyle@parisc-linux.org>2006-04-11 07:53:56 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-11 15:18:40 +0200
commit894b5779ceeabdce139068310e58bcf51ed9bb22 (patch)
treea5235a777d109a22a3867a8e31e2dcf40fb21bc0 /lib
parent[PATCH] Configurable NODES_SHIFT (diff)
downloadlinux-894b5779ceeabdce139068310e58bcf51ed9bb22.tar.xz
linux-894b5779ceeabdce139068310e58bcf51ed9bb22.zip
[PATCH] No arch-specific strpbrk implementations
While cleaning up parisc_ksyms.c earlier, I noticed that strpbrk wasn't being exported from lib/string.c. Investigating further, I noticed a changeset that removed its export and added it to _ksyms.c on a few more architectures. The justification was that "other arches do it." I think this is wrong, since no architecture currently defines __HAVE_ARCH_STRPBRK, there's no reason for any of them to be exporting it themselves. Therefore, consolidate the export to lib/string.c. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/string.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/string.c b/lib/string.c
index b3c28a3f6332..037a48acedbb 100644
--- a/lib/string.c
+++ b/lib/string.c
@@ -403,6 +403,7 @@ char *strpbrk(const char *cs, const char *ct)
}
return NULL;
}
+EXPORT_SYMBOL(strpbrk);
#endif
#ifndef __HAVE_ARCH_STRSEP