projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc359c0
)
Add LTTNG_HIDDEN macro for hidden attribute
author
David Goulet
<dgoulet@efficios.com>
Fri, 25 Jan 2013 17:02:06 +0000
(12:02 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Fri, 25 Jan 2013 17:02:06 +0000
(12:02 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/macros.h
patch
|
blob
|
blame
|
history
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
+#ifndef LTTNG_HIDDEN
+#define LTTNG_HIDDEN __attribute__((visibility("hidden")))
+#endif
+
#endif /* _MACROS_H */
This page took
0.026265 seconds
and
4
git commands to generate.