[PATCH 5/5] perf script: Make some lists static

From: Arnaldo Carvalho de Melo
Date: Wed Jan 05 2011 - 12:05:22 EST


From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

Not accessed outside builtin-script, so make them static.

Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Mike Galbraith <efault@xxxxxx>
Cc: Paul Mackerras <paulus@xxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Stephane Eranian <eranian@xxxxxxxxxx>
Cc: Tom Zanussi <tzanussi@xxxxxxxxx>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/builtin-script.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c
index 27d568d..150a606 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)
{
--
1.6.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/