]> Git Repo - linux.git/commitdiff
perf script: Make some lists static
authorArnaldo Carvalho de Melo <[email protected]>
Tue, 4 Jan 2011 18:32:52 +0000 (16:32 -0200)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 5 Jan 2011 16:53:59 +0000 (14:53 -0200)
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]>
tools/perf/builtin-script.c

index 27d568daac775ea8207b1c2c446e3ef69759d913..150a606002eb7b4eb281e69c9c8287eed1931077 100644 (file)
@@ -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)
 {
This page took 0.044363 seconds and 4 git commands to generate.