From af99810b605463a8166c2cba6d4058a2979baeae Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Sun, 6 Dec 2009 20:41:52 -0600 Subject: [PATCH] --- yaml --- r: 175403 b: refs/heads/master c: 3a9a0beba2913edaae39ff8b4645fee10c3acf37 h: refs/heads/master i: 175401: 11ae0c8295c583a886e5b32eff3877153c239e7a 175399: 9e30c34fac472e7e8d45b727ee1b6909d15bad8b v: v3 --- [refs] | 2 +- trunk/tools/perf/util/trace-event-perl.c | 3 --- trunk/tools/perf/util/trace-event-perl.h | 4 ++++ 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 24bddde0b7ad..85d4fccf7131 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f48f669d42e133db839af16656fd720107ef6742 +refs/heads/master: 3a9a0beba2913edaae39ff8b4645fee10c3acf37 diff --git a/trunk/tools/perf/util/trace-event-perl.c b/trunk/tools/perf/util/trace-event-perl.c index 51e833fd58c3..59564b22d9ce 100644 --- a/trunk/tools/perf/util/trace-event-perl.c +++ b/trunk/tools/perf/util/trace-event-perl.c @@ -32,9 +32,6 @@ void xs_init(pTHX); -void boot_Perf__Trace__Context(pTHX_ CV *cv); -void boot_DynaLoader(pTHX_ CV *cv); - void xs_init(pTHX) { const char *file = __FILE__; diff --git a/trunk/tools/perf/util/trace-event-perl.h b/trunk/tools/perf/util/trace-event-perl.h index 8fe0d866fe1a..e88fb26137bb 100644 --- a/trunk/tools/perf/util/trace-event-perl.h +++ b/trunk/tools/perf/util/trace-event-perl.h @@ -34,9 +34,13 @@ typedef int INTERP; #define dXSUB_SYS #define pTHX_ static inline void newXS(const char *a, void *b, const char *c) {} +static void boot_Perf__Trace__Context(pTHX_ CV *cv) {} +static void boot_DynaLoader(pTHX_ CV *cv) {} #else #include #include +void boot_Perf__Trace__Context(pTHX_ CV *cv); +void boot_DynaLoader(pTHX_ CV *cv); typedef PerlInterpreter * INTERP; #endif