xref: /openbmc/linux/drivers/firmware/efi/libstub/skip_spaces.c (revision 496cc140279b4517a23f4534e468ec9c66283f4b)
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