X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt-usertrace%2Fltt%2Fsystem-ppc64.h;h=022ef9206af4c013b3f1e481f3af401c363dc204;hb=895ad1156ce7e727e53edeccc977267a1d419820;hp=0d28bc9cb7b0194c8f56c588ee16f226341085e9;hpb=59a957df53a055e84f09b5eb32e81212b6770ec7;p=lttv.git diff --git a/ltt-usertrace/ltt/system-ppc64.h b/ltt-usertrace/ltt/system-ppc64.h index 0d28bc9c..022ef920 100644 --- a/ltt-usertrace/ltt/system-ppc64.h +++ b/ltt-usertrace/ltt/system-ppc64.h @@ -1,6 +1,10 @@ #ifndef __PPC64_SYSTEM_H #define __PPC64_SYSTEM_H +#ifdef __cplusplus +extern "C" { +#endif + /* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -211,4 +215,8 @@ __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) #define arch_align_stack(x) (x) +#ifdef __cplusplus +} /* end of extern "C" */ +#endif + #endif