1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _SKC_LINUX_STRING_H
3 #define _SKC_LINUX_STRING_H
7 /* Copied from lib/string.c */
8 static inline char *skip_spaces(const char *str)
15 static inline char *strim(char *s)
25 while (end >= s && isspace(*end))
29 return skip_spaces(s);