projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add LTTNG_HIDDEN macro for hidden attribute
[lttng-tools.git]
/
src
/
common
/
macros.h
diff --git
a/src/common/macros.h
b/src/common/macros.h
index 1771d236c2daa3eeea5a807bef5ddc83cbb6d677..f6f975d1453d7ffa89deb2e4e97f55afafee514c 100644
(file)
--- a/
src/common/macros.h
+++ b/
src/common/macros.h
@@
-64,4
+64,8
@@
#define LTTNG_PACKED __attribute__((__packed__))
#endif
#define LTTNG_PACKED __attribute__((__packed__))
#endif
+#ifndef LTTNG_HIDDEN
+#define LTTNG_HIDDEN __attribute__((visibility("hidden")))
+#endif
+
#endif /* _MACROS_H */
#endif /* _MACROS_H */
This page took
0.032509 seconds
and
4
git commands to generate.