X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt-usertrace%2Fltt%2Fppc_asm-ppc.h;h=f83252aedf570319fbb76368357043300cd20ceb;hb=bc82195a5cd369d133037ccc20564d89fff523ed;hp=e625aed0a3f2b45deb03d415d57cd7d38a8ded30;hpb=60009e261013c6bcbdbaa624eaa4c5225d366aef;p=lttv.git diff --git a/ltt-usertrace/ltt/ppc_asm-ppc.h b/ltt-usertrace/ltt/ppc_asm-ppc.h index e625aed0..f83252ae 100644 --- a/ltt-usertrace/ltt/ppc_asm-ppc.h +++ b/ltt-usertrace/ltt/ppc_asm-ppc.h @@ -11,6 +11,13 @@ * 2 of the License, or (at your option) any later version. */ +#ifndef _PPC_ASM_PPC_H +#define _PPC_ASM_PPC_H + +#ifdef __cplusplus +extern "C" { +#endif + /* * Macros for storing registers into and loading registers from * exception frames. @@ -340,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