From: Simon Marchi Date: Fri, 15 Oct 2021 19:55:28 +0000 (-0400) Subject: Remove extern "C" from internal headers X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=b66cbf1731486ab4dc7e0b2e1c3fa05cc5360c19;hp=b66cbf1731486ab4dc7e0b2e1c3fa05cc5360c19;p=lttng-tools.git Remove extern "C" from internal headers All internal code is now compiled as C++, we can now remove all 'extern "C"' declarations from internal headers. This means files will see each other's declarations as C++, and we can now use things in headers. Remove the min/min_t/max/max_t macros from macros.h as well. Change-Id: I5a6b7ef60be5f46160c6d5ca39f082d2137d5a07 Signed-off-by: Simon Marchi Signed-off-by: Jérémie Galarneau ---