projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2963795
)
efi/libstub: Fix missing-prototype warning for skip_spaces()
author
Ard Biesheuvel
<ardb@kernel.org>
Mon, 15 Jun 2020 10:31:14 +0000
(12:31 +0200)
committer
Ard Biesheuvel
<ardb@kernel.org>
Mon, 15 Jun 2020 17:43:58 +0000
(19:43 +0200)
Include <linux/string.h> into skip_spaces.c to silence a compiler
warning about a missing prototype.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/skip_spaces.c
patch
|
blob
|
history
diff --git
a/drivers/firmware/efi/libstub/skip_spaces.c
b/drivers/firmware/efi/libstub/skip_spaces.c
index a700b3c7f7d0697f756b4196bd50e8ce9fea59f5..159fb4e456c639403889a6a23f15f5806ee8ea27 100644
(file)
--- a/
drivers/firmware/efi/libstub/skip_spaces.c
+++ b/
drivers/firmware/efi/libstub/skip_spaces.c
@@
-1,6
+1,7
@@
// SPDX-License-Identifier: GPL-2.0
#include <linux/ctype.h>
+#include <linux/string.h>
#include <linux/types.h>
char *skip_spaces(const char *str)