summaryrefslogtreecommitdiffstats
path: root/src/vlib/unix/plugin.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2020-10-17 13:33:32 +0200
committerNeale Ranns <nranns@cisco.com>2020-10-19 10:06:38 +0000
commit931c6f54bad50d880560e8705e08b16bf8a19337 (patch)
tree2c021cdeedf77557308afbf6797e5338b6c9c547 /src/vlib/unix/plugin.h
parent07619240c295b6f068609d5603dba8601dbd72a0 (diff)
misc: don't export symbols from plugins
Type: improvement Change-Id: I2a176fe2871d2e54b010bffc4f1f7a3616f0c455 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/unix/plugin.h')
-rw-r--r--src/vlib/unix/plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/unix/plugin.h b/src/vlib/unix/plugin.h
index 4beae43d504..ae15e5db973 100644
--- a/src/vlib/unix/plugin.h
+++ b/src/vlib/unix/plugin.h
@@ -150,7 +150,7 @@ u8 *vlib_get_vat_plugin_path (void);
#define VLIB_PLUGIN_REGISTER() \
vlib_plugin_registration_t vlib_plugin_registration \
CLIB_NOSANITIZE_PLUGIN_REG_SECTION \
- __attribute__((__section__(".vlib_plugin_registration")))
+ __clib_export __clib_section(".vlib_plugin_registration")
/* Call a plugin init function: used for init function dependencies. */
#define vlib_call_plugin_init_function(vm,p,x) \