X-Git-Url: https://bbs.cooldavid.org/git/?a=blobdiff_plain;f=tools%2Fperf%2Futil%2Ftrace-event-scripting.c;h=f7af2fca965d5c206973f73ccd25b8b3607e02e5;hb=0f940cb7d970f4fd569bb5f9f49774422f2ccbee;hp=7ea983acfaea521a425f7eb33250e319b0a3a960;hpb=c569d3326bca6774f6c23f1dc91acad5400b6409;p=net-next-2.6.git diff --git a/tools/perf/util/trace-event-scripting.c b/tools/perf/util/trace-event-scripting.c index 7ea983acfae..f7af2fca965 100644 --- a/tools/perf/util/trace-event-scripting.c +++ b/tools/perf/util/trace-event-scripting.c @@ -97,7 +97,7 @@ void setup_python_scripting(void) register_python_scripting(&python_scripting_unsupported_ops); } #else -struct scripting_ops python_scripting_ops; +extern struct scripting_ops python_scripting_ops; void setup_python_scripting(void) { @@ -158,7 +158,7 @@ void setup_perl_scripting(void) register_perl_scripting(&perl_scripting_unsupported_ops); } #else -struct scripting_ops perl_scripting_ops; +extern struct scripting_ops perl_scripting_ops; void setup_perl_scripting(void) {