Commit eccdfe2d245a882feacc4630c9bc29805e9929c8

Authored by Arnaldo Carvalho de Melo
1 parent 6d8afb5630

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>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

tools/perf/builtin-script.c
... ... @@ -137,7 +137,7 @@
137 137 char spec[0];
138 138 };
139 139  
140   -LIST_HEAD(script_specs);
  140 +static LIST_HEAD(script_specs);
141 141  
142 142 static struct script_spec *script_spec__new(const char *spec,
143 143 struct scripting_ops *ops)
... ... @@ -319,7 +319,7 @@
319 319 char *args;
320 320 };
321 321  
322   -LIST_HEAD(script_descs);
  322 +static LIST_HEAD(script_descs);
323 323  
324 324 static struct script_desc *script_desc__new(const char *name)
325 325 {