X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Futils%2Ftap%2Ftap.h;fp=tests%2Futils%2Ftap%2Ftap.h;h=76e70230b462cf5b715735aff141883a1e4d7929;hp=b3e94450541e203ba38bb9c5b2c3a71fd0869252;hb=c6c3d3a1ccecd2611688875962446ddb03ca99b9;hpb=484a30244f4297ce7f0ac0ea1c0c4d566b39c46e diff --git a/tests/utils/tap/tap.h b/tests/utils/tap/tap.h index b3e94450..76e70230 100644 --- a/tests/utils/tap/tap.h +++ b/tests/utils/tap/tap.h @@ -5,6 +5,10 @@ * Copyright (C) 2017 Jérémie Galarneau */ +#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 */ @@ -80,3 +84,7 @@ void todo_start(const char *, ...); void todo_end(void); int exit_status(void); + +#ifdef __cplusplus +} +#endif