summaryrefslogtreecommitdiff
path: root/lib/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/module.h')
-rw-r--r--lib/module.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/module.h b/lib/module.h
index c5f96db85b..79cf52d75a 100644
--- a/lib/module.h
+++ b/lib/module.h
@@ -24,16 +24,6 @@
extern "C" {
#endif
-#if !defined(__GNUC__)
-#error module code needs GCC visibility extensions
-#elif __GNUC__ < 4
-#error module code needs GCC visibility extensions
-#else
-# define DSO_PUBLIC __attribute__ ((visibility ("default")))
-# define DSO_SELF __attribute__ ((visibility ("protected")))
-# define DSO_LOCAL __attribute__ ((visibility ("hidden")))
-#endif
-
struct frrmod_runtime;
struct frrmod_info {