summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-05-15 06:11:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-05-15 06:11:47 (GMT)
commitf252166690f537cdf6853e45a6dc21ed058d0360 (patch)
treee9b6264f630034135d81e635844e8b2775345cde /src/plugins
parent7358dc2001d27d3c5a0c0fe39288b1a310a6d89e (diff)
Define all function attributes in a centralized header.
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/self.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/self.h b/src/plugins/self.h
index 3c14a0a..4d5ddb0 100644
--- a/src/plugins/self.h
+++ b/src/plugins/self.h
@@ -29,6 +29,7 @@
#ifndef _PLUGINS_PLUGIN_H
# include "plugin.h"
#endif
+#include "../common/compiler.h"
@@ -53,8 +54,6 @@
/* Composants d'interface */
-#define __private __attribute__((visibility("hidden")))
-
#define PLUGIN_CORE_SELF \
static GPluginModule *_this_plugin = NULL; \
G_MODULE_EXPORT void chrysalide_plugin_set_self(GPluginModule *p); \