mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-14 05:12:17 +00:00
x86, boot: Fix warning due to undeclared strlen()
Below is a patch that fixes sparse error "arch/x86/boot/string.c:119:8: warning: symbol 'strlen' was not declared." by declaring it in arch/x86/boot/boot.h. Signed-off-by: Fred Chen <fchen@linux.vnet.ibm.com> Link: http://lkml.kernel.org/r/1376417580-11554-1-git-send-email-fchen@linux.vnet.ibm.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
parent
d4e4ab86bc
commit
062fe8fe51
@ -355,6 +355,7 @@ int strncmp(const char *cs, const char *ct, size_t count);
|
||||
size_t strnlen(const char *s, size_t maxlen);
|
||||
unsigned int atou(const char *s);
|
||||
unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base);
|
||||
size_t strlen(const char *s);
|
||||
|
||||
/* tty.c */
|
||||
void puts(const char *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user