From a0c885ae5a79457aa592cb70c27a7dee619762a4 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 16 Apr 2012 19:12:58 +0200 Subject: add new libnetfilter_queue API for libmnl Signed-off-by: Pablo Neira Ayuso --- src/internal.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/internal.h (limited to 'src/internal.h') diff --git a/src/internal.h b/src/internal.h new file mode 100644 index 0000000..3a88d1a --- /dev/null +++ b/src/internal.h @@ -0,0 +1,12 @@ +#ifndef INTERNAL_H +#define INTERNAL_H 1 + +#include "config.h" +#ifdef HAVE_VISIBILITY_HIDDEN +# define __visible __attribute__((visibility("default"))) +# define EXPORT_SYMBOL(x) typeof(x) (x) __visible +#else +# define EXPORT_SYMBOL +#endif + +#endif -- cgit v1.2.3