summaryrefslogtreecommitdiff
blob: cc7fb257a5d41323aac00fe5c32e1f573a397d23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 {