Commit eccdfe2d authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo
Browse files

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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 6d8afb56
...@@ -137,7 +137,7 @@ struct script_spec { ...@@ -137,7 +137,7 @@ struct script_spec {
char spec[0]; char spec[0];
}; };
LIST_HEAD(script_specs); static LIST_HEAD(script_specs);
static struct script_spec *script_spec__new(const char *spec, static struct script_spec *script_spec__new(const char *spec,
struct scripting_ops *ops) struct scripting_ops *ops)
...@@ -319,7 +319,7 @@ struct script_desc { ...@@ -319,7 +319,7 @@ struct script_desc {
char *args; char *args;
}; };
LIST_HEAD(script_descs); static LIST_HEAD(script_descs);
static struct script_desc *script_desc__new(const char *name) static struct script_desc *script_desc__new(const char *name)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment