diff options
author | Paolo 'Blaisorblade' Giarrusso | 2006-04-11 07:53:33 +0200 |
---|---|---|
committer | Linus Torvalds | 2006-04-11 15:18:36 +0200 |
commit | 7c45ad16f0b64f5fdc64cb0e86aa548d7f4d60c1 (patch) | |
tree | 9ffef0d24701f3ee62fca30e983404b3a5db1a9f /arch/um/os-Linux | |
parent | [PATCH] uml: fix format errors (diff) | |
download | kernel-qcow2-linux-7c45ad16f0b64f5fdc64cb0e86aa548d7f4d60c1.tar.gz kernel-qcow2-linux-7c45ad16f0b64f5fdc64cb0e86aa548d7f4d60c1.tar.xz kernel-qcow2-linux-7c45ad16f0b64f5fdc64cb0e86aa548d7f4d60c1.zip |
[PATCH] uml: fix some double export warnings
Some functions are exported twice in current code - remove the excess export.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/os-Linux')
-rw-r--r-- | arch/um/os-Linux/user_syms.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/um/os-Linux/user_syms.c b/arch/um/os-Linux/user_syms.c index 8da6ab31152a..2598158e1f53 100644 --- a/arch/um/os-Linux/user_syms.c +++ b/arch/um/os-Linux/user_syms.c @@ -18,14 +18,19 @@ extern void *memmove(void *, const void *, size_t); extern void *memset(void *, int, size_t); extern int printf(const char *, ...); +/* If they're not defined, the export is included in lib/string.c.*/ +#ifdef __HAVE_ARCH_STRLEN EXPORT_SYMBOL(strlen); +#endif +#ifdef __HAVE_ARCH_STRSTR +EXPORT_SYMBOL(strstr); +#endif + EXPORT_SYMBOL(memcpy); EXPORT_SYMBOL(memmove); EXPORT_SYMBOL(memset); EXPORT_SYMBOL(printf); -EXPORT_SYMBOL(strstr); - /* Here, instead, I can provide a fake prototype. Yes, someone cares: genksyms. * However, the modules will use the CRC defined *here*, no matter if it is * good; so the versions of these symbols will always match |