projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update split script
[lttv.git]
/
ltt-usertrace
/
ltt
/
timex-ppc.h
diff --git
a/ltt-usertrace/ltt/timex-ppc.h
b/ltt-usertrace/ltt/timex-ppc.h
index 2449907a989ac1f63d1093248428c3af0fe3fabf..37eda9dbb4a64de6bfcbad86096aab816878c0e9 100644
(file)
--- a/
ltt-usertrace/ltt/timex-ppc.h
+++ b/
ltt-usertrace/ltt/timex-ppc.h
@@
-1,6
+1,10
@@
#ifndef __TIMEX_PPC_H
#define __TIMEX_PPC_H
#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 */
#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();
}
return get_tb();
}
+#ifdef __cplusplus
+} /* end of extern "C" */
+#endif
+
#endif //__TIMEX_PPC_H
#endif //__TIMEX_PPC_H
This page took
0.022867 seconds
and
4
git commands to generate.