mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 12:41:55 +00:00
perf strlist: Make parse_list() private
It is not used anywhere, expose it when/if needed. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Borislav Petkov <bp@suse.de> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-f6in51stj17avhk4rv11gjgg@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
8ff9daf3c1
commit
8816d38d49
@ -134,7 +134,7 @@ out:
|
||||
return err;
|
||||
}
|
||||
|
||||
int strlist__parse_list(struct strlist *slist, const char *s, const char *subst_dir)
|
||||
static int strlist__parse_list(struct strlist *slist, const char *s, const char *subst_dir)
|
||||
{
|
||||
char *sep;
|
||||
int err;
|
||||
|
@ -79,6 +79,4 @@ static inline struct str_node *strlist__next(struct str_node *sn)
|
||||
#define strlist__for_each_safe(pos, n, slist) \
|
||||
for (pos = strlist__first(slist), n = strlist__next(pos); pos;\
|
||||
pos = n, n = strlist__next(n))
|
||||
|
||||
int strlist__parse_list(struct strlist *slist, const char *s, const char *subst_dir);
|
||||
#endif /* __PERF_STRLIST_H */
|
||||
|
Loading…
Reference in New Issue
Block a user