X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Ftap%2Ftap.h;fp=tests%2Futils%2Ftap%2Ftap.h;h=84288f03848831f8f148c4612d9cd73608af8c75;hp=c15909d897d7e7285a67cfd443be50dd502a60be;hb=7966af5763c4aaca39df9bbfa9277ff15715c720;hpb=3a5f70173aa04d11ccb22694d5d31a702cad33ab diff --git a/tests/utils/tap/tap.h b/tests/utils/tap/tap.h index c15909d89..84288f038 100644 --- a/tests/utils/tap/tap.h +++ b/tests/utils/tap/tap.h @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#ifdef __cplusplus +extern "C" { +#endif + /* '## __VA_ARGS__' is a gcc'ism. C99 doesn't allow the token pasting and requires the caller to add the final comma if they've ommitted the optional arguments */ @@ -89,3 +93,7 @@ void todo_start(char *, ...); void todo_end(void); int exit_status(void); + +#ifdef __cplusplus +} +#endif