Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -3
+1 -1
tools/perf/util/strlist.c
··· 134 134 return err; 135 135 } 136 136 137 - int strlist__parse_list(struct strlist *slist, const char *s, const char *subst_dir) 137 + static int strlist__parse_list(struct strlist *slist, const char *s, const char *subst_dir) 138 138 { 139 139 char *sep; 140 140 int err;
-2
tools/perf/util/strlist.h
··· 79 79 #define strlist__for_each_safe(pos, n, slist) \ 80 80 for (pos = strlist__first(slist), n = strlist__next(pos); pos;\ 81 81 pos = n, n = strlist__next(n)) 82 - 83 - int strlist__parse_list(struct strlist *slist, const char *s, const char *subst_dir); 84 82 #endif /* __PERF_STRLIST_H */