Skip to content

Commit 24552d1

Browse files
committed
efi/libstub: Fix missing-prototype warning for skip_spaces()
Include <linux/string.h> into skip_spaces.c to silence a compiler warning about a missing prototype. Signed-off-by: Ard Biesheuvel <[email protected]>
1 parent 2963795 commit 24552d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/firmware/efi/libstub/skip_spaces.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// SPDX-License-Identifier: GPL-2.0
22

33
#include <linux/ctype.h>
4+
#include <linux/string.h>
45
#include <linux/types.h>
56

67
char *skip_spaces(const char *str)

0 commit comments

Comments
 (0)