update usertrade to support g++
[lttv.git] / ltt-usertrace / ltt / timex-ppc.h
index 2449907a989ac1f63d1093248428c3af0fe3fabf..37eda9dbb4a64de6bfcbad86096aab816878c0e9 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef __TIMEX_PPC_H
 #define __TIMEX_PPC_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define CPU_FTR_601                    0x00000100
 
 #define CLOCK_TICK_RATE        1193180 /* Underlying HZ */
@@ -50,4 +54,8 @@ static inline cycles_t get_cycles(void)
        return get_tb();
 }
 
+#ifdef __cplusplus
+} /* end of extern "C" */
+#endif
+
 #endif //__TIMEX_PPC_H
This page took 0.022289 seconds and 4 git commands to generate.