From: Arnaldo Carvalho de Melo Date: Tue, 4 Jan 2011 18:32:52 +0000 (-0200) Subject: perf script: Make some lists static X-Git-Tag: Ubuntu-5.0.0-8.9~20765^2~2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=eccdfe2d245a882feacc4630c9bc29805e9929c8;p=mirror_ubuntu-disco-kernel.git perf script: Make some lists static Not accessed outside builtin-script, so make them static. Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Tom Zanussi LKML-Reference: Signed-off-by: Arnaldo Carvalho de Melo --- 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 { char spec[0]; }; -LIST_HEAD(script_specs); +static LIST_HEAD(script_specs); static struct script_spec *script_spec__new(const char *spec, struct scripting_ops *ops) @@ -319,7 +319,7 @@ struct script_desc { char *args; }; -LIST_HEAD(script_descs); +static LIST_HEAD(script_descs); static struct script_desc *script_desc__new(const char *name) {