]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
efi/libstub: Fix missing-prototype warning for skip_spaces()
authorArd Biesheuvel <ardb@kernel.org>
Mon, 15 Jun 2020 10:31:14 +0000 (12:31 +0200)
committerArd 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

index a700b3c7f7d0697f756b4196bd50e8ce9fea59f5..159fb4e456c639403889a6a23f15f5806ee8ea27 100644 (file)
@@ -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)