Skip to content

Commit

Permalink
perf script: Make some lists static
Browse files Browse the repository at this point in the history
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: Arnaldo Carvalho de Melo <acme@redhat.com>
  • Loading branch information
Arnaldo Carvalho de Melo committed Jan 5, 2011
1 parent 6d8afb5 commit eccdfe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/perf/builtin-script.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit eccdfe2

Please sign in to comment.