Skip to content

Commit

Permalink
efi/libstub: Fix missing-prototype warning for skip_spaces()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ard Biesheuvel committed Jun 15, 2020
1 parent 2963795 commit 24552d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/firmware/efi/libstub/skip_spaces.c
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 24552d1

Please sign in to comment.