diff -Naur charm-5.9/src/conv-perf/traceCore.h charm-5.9-new/src/conv-perf/traceCore.h --- charm-5.9/src/conv-perf/traceCore.h 2003-07-18 02:35:09.000000000 -0400 +++ charm-5.9-new/src/conv-perf/traceCore.h 2007-09-22 08:52:09.000000000 -0400 @@ -17,7 +17,13 @@ class TraceLogger; class TraceEntry; +#ifdef __cplusplus +extern "C" { +#endif CpvCExtern(int, _traceCoreOn); +#ifdef __cplusplus +} +#endif /*** structure of events ***/ struct TraceCoreEvent {