xref: /linux/drivers/firmware/efi/libstub/skip_spaces.c (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #include <linux/ctype.h>
4 #include <linux/string.h>
5 #include <linux/types.h>
6 
7 char *skip_spaces(const char *str)
8 {
9 	while (isspace(*str))
10 		++str;
11 	return (char *)str;
12 }
13