Same implementation, will be used to replace ad-hoc equivalent code in tools/.
Showing the changes to tools/include/linux/string.h (1 of 2 files). Show all
Unified · Split
| @@ -29,4 +29,6 @@ static inline bool strstarts(const char *str, const char *prefix) · 28 unmodified lines | ||
| 29 | 29 | return strncmp(str, prefix, strlen(prefix)) == 0; |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | −#endif /* _LINUX_STRING_H_ */ | |
| 32 | +extern char * __must_check skip_spaces(const char *); | |
| 33 | + | |
| 34 | +#endif /* _TOOLS_LINUX_STRING_H_ */ | |