From: David Goulet Date: Fri, 25 Jan 2013 17:02:06 +0000 (-0500) Subject: Add LTTNG_HIDDEN macro for hidden attribute X-Git-Tag: v2.2.0-rc1~79 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=99c815c136c28d8bd8cb270d3eb981901a28c6a6;p=lttng-tools.git Add LTTNG_HIDDEN macro for hidden attribute Signed-off-by: David Goulet --- diff --git a/src/common/macros.h b/src/common/macros.h index 1771d236c..f6f975d14 100644 --- a/src/common/macros.h +++ b/src/common/macros.h @@ -64,4 +64,8 @@ #define LTTNG_PACKED __attribute__((__packed__)) #endif +#ifndef LTTNG_HIDDEN +#define LTTNG_HIDDEN __attribute__((visibility("hidden"))) +#endif + #endif /* _MACROS_H */