[PATCH] x86_64: Don't export strlen twice
Fix WARNING: vmlinux: 'strlen' exported twice. Previous export was in vmlinux Reported by Mats Johannesson Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
7bf36bbc5e
commit
ac04dcaf6f
@ -112,7 +112,6 @@ EXPORT_SYMBOL_GPL(unset_nmi_callback);
|
|||||||
#undef memcpy
|
#undef memcpy
|
||||||
#undef memset
|
#undef memset
|
||||||
#undef memmove
|
#undef memmove
|
||||||
#undef strlen
|
|
||||||
|
|
||||||
extern void * memset(void *,int,__kernel_size_t);
|
extern void * memset(void *,int,__kernel_size_t);
|
||||||
extern size_t strlen(const char *);
|
extern size_t strlen(const char *);
|
||||||
@ -121,7 +120,6 @@ extern void * memcpy(void *,const void *,__kernel_size_t);
|
|||||||
extern void * __memcpy(void *,const void *,__kernel_size_t);
|
extern void * __memcpy(void *,const void *,__kernel_size_t);
|
||||||
|
|
||||||
EXPORT_SYMBOL(memset);
|
EXPORT_SYMBOL(memset);
|
||||||
EXPORT_SYMBOL(strlen);
|
|
||||||
EXPORT_SYMBOL(strpbrk);
|
EXPORT_SYMBOL(strpbrk);
|
||||||
EXPORT_SYMBOL(memmove);
|
EXPORT_SYMBOL(memmove);
|
||||||
EXPORT_SYMBOL(memcpy);
|
EXPORT_SYMBOL(memcpy);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user