From 13c1e731dbcff12cbe5c2436801dd32f4b3c3fd0 Mon Sep 17 00:00:00 2001 From: philburk Date: Fri, 17 Jan 2014 03:45:15 +0000 Subject: [PATCH] Add stub to pa_trace.c to eliminate warning. "make install" was causing a warning if PA_TRACE_REALTIME_EVENTS was not defined. --- src/common/pa_trace.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/common/pa_trace.c b/src/common/pa_trace.c index 40fbc04..818abff 100644 --- a/src/common/pa_trace.c +++ b/src/common/pa_trace.c @@ -227,4 +227,12 @@ void PaUtil_DiscardHighSpeedLog( LogHandle hLog ) PaUtil_FreeMemory(pLog); } +#else +/* This stub was added so that this file will generate a symbol. + * Otherwise linker/archiver programs will complain. + */ +int PaUtil_TraceStubToSatisfyLinker(void) +{ + return 0; +} #endif /* TRACE_REALTIME_EVENTS */ -- 2.43.0