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