aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2011-01-04 18:32:52 +0000
committerArnaldo Carvalho de Melo <[email protected]>2011-01-05 16:53:59 +0000
commiteccdfe2d245a882feacc4630c9bc29805e9929c8 (patch)
treef89d85a9c56dac2cfc96b3c0f3ec045bc706177b /tools/perf/builtin-script.c
parentperf script: Use the default lost event handler (diff)
downloadkernel-eccdfe2d245a882feacc4630c9bc29805e9929c8.tar.gz
kernel-eccdfe2d245a882feacc4630c9bc29805e9929c8.zip
perf script: Make some lists static
Not accessed outside builtin-script, so make them static. Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Tom Zanussi <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
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 {
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)
{