summaryrefslogtreecommitdiffstats
path: root/src/internal.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-11-19 13:07:48 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2010-11-19 13:07:48 +0100
commitfe73d7d8854efda86d4d09757874c48352e6b247 (patch)
tree64104b409f7a50ae3c434034bf3c956f8b5d88a7 /src/internal.h
parent68dd5828052a965a7c8e84d0b8c9d4996ff3f410 (diff)
build: tag function headers rather than decls as exported
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/internal.h')
-rw-r--r--src/internal.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/internal.h b/src/internal.h
new file mode 100644
index 0000000..ed8028f
--- /dev/null
+++ b/src/internal.h
@@ -0,0 +1,11 @@
+#ifndef INTERNAL_H
+#define INTERNAL_H 1
+
+#include "config.h"
+#ifdef HAVE_VISIBILITY_HIDDEN
+# define EXPORT_SYMBOL __attribute__((visibility("default")))
+#else
+# define EXPORT_SYMBOL
+#endif
+
+#endif \ No newline at end of file