X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=ltt-usertrace%2Fltt%2Fppc_asm-ppc.h;h=f83252aedf570319fbb76368357043300cd20ceb;hb=bc82195a5cd369d133037ccc20564d89fff523ed;hp=f76221def484d3f8bffa45b0f9a71f9ee88a9cd4;hpb=10212e41b398373b2fc12b007854ca514fd15f29;p=lttv.git diff --git a/ltt-usertrace/ltt/ppc_asm-ppc.h b/ltt-usertrace/ltt/ppc_asm-ppc.h index f76221de..f83252ae 100644 --- a/ltt-usertrace/ltt/ppc_asm-ppc.h +++ b/ltt-usertrace/ltt/ppc_asm-ppc.h @@ -11,7 +11,12 @@ * 2 of the License, or (at your option) any later version. */ -#include +#ifndef _PPC_ASM_PPC_H +#define _PPC_ASM_PPC_H + +#ifdef __cplusplus +extern "C" { +#endif /* * Macros for storing registers into and loading registers from @@ -342,3 +347,9 @@ END_FTR_SECTION_IFCLR(CPU_FTR_601) #define N_RSYM 64 #define N_SLINE 68 #define N_SO 100 + +#ifdef __cplusplus +} /* end of extern "C" */ +#endif + +#endif //_PPC_ASM_PPC_H