aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2011-01-04 13:32:52 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-01-05 11:53:59 -0500
commiteccdfe2d245a882feacc4630c9bc29805e9929c8 (patch)
treef89d85a9c56dac2cfc96b3c0f3ec045bc706177b /tools/perf/builtin-script.c
parent6d8afb56300c53a250c6de0f973ef502e54aabf3 (diff)
perf script: Make some lists static
Not accessed outside builtin-script, so make them static. Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-script.c')
-rw-r--r--tools/perf/builtin-script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c
index 27d568daac77..150a606002eb 100644
--- a/tools/perf/builtin-script.c
+++ b/tools/perf/builtin-script.c
@@ -137,7 +137,7 @@ struct script_spec {
137 char spec[0]; 137 char spec[0];
138}; 138};
139 139
140LIST_HEAD(script_specs); 140static LIST_HEAD(script_specs);
141 141
142static struct script_spec *script_spec__new(const char *spec, 142static struct script_spec *script_spec__new(const char *spec,
143 struct scripting_ops *ops) 143 struct scripting_ops *ops)
@@ -319,7 +319,7 @@ struct script_desc {
319 char *args; 319 char *args;
320}; 320};
321 321
322LIST_HEAD(script_descs); 322static LIST_HEAD(script_descs);
323 323
324static struct script_desc *script_desc__new(const char *name) 324static struct script_desc *script_desc__new(const char *name)
325{ 325{