Since we're working on moving stuff out of tools/perf/util/ to tools/lib/, take the opportunity to adopt routines from the kernel that are equivalent, so that tools/ code look more like the kernel.
Showing the changes to tools/include/linux/string.h (1 of 2 files). Show all
Unified · Split
| @@ -31,4 +31,6 @@ static inline bool strstarts(const char *str, const char *prefix) · 30 unmodified lines | ||
| 31 | 31 | |
| 32 | 32 | extern char * __must_check skip_spaces(const char *); |
| 33 | 33 | |
| 34 | +extern char *strim(char *); | |
| 35 | + | |
| 34 | 36 | #endif /* _TOOLS_LINUX_STRING_H_ */ |