Skip to content

Commit aad0f3d

Browse files
Tian Taoardbiesheuvel
authored andcommitted
efi/libstub: Fix missing-prototypes in string.c
Fix the following warnings. drivers/firmware/efi/libstub/string.c:83:20: warning: no previous prototype for ‘simple_strtoull’ [-Wmissing-prototypes] drivers/firmware/efi/libstub/string.c:108:6: warning: no previous prototype for ‘simple_strtol’ [-Wmissing-prototypes] Signed-off-by: Tian Tao <tiantao6@hisilicon.com> Link: https://lore.kernel.org/r/1600653203-57909-1-git-send-email-tiantao6@hisilicon.com Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
1 parent 6277e37 commit aad0f3d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/firmware/efi/libstub/string.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88

99
#include <linux/ctype.h>
10+
#include <linux/kernel.h>
1011
#include <linux/types.h>
1112
#include <linux/string.h>
1213

0 commit comments

Comments
 (0)