diff --git a/include/QF/plugin.h b/include/QF/plugin.h index 57a4ba9ff..28cb9962f 100644 --- a/include/QF/plugin.h +++ b/include/QF/plugin.h @@ -40,7 +40,7 @@ #ifdef STATIC_PLUGINS #define PLUGIN_INFO(type,name) plugin_t *type##_##name##_PluginInfo (void); __attribute__((const)) plugin_t * type##_##name##_PluginInfo (void) #else -#define PLUGIN_INFO(type,name) plugin_t *PluginInfo (void); __attribute__((visibility ("default"))) plugin_t *PluginInfo (void) +#define PLUGIN_INFO(type,name) plugin_t *PluginInfo (void); __attribute__((visibility ("default"),const)) plugin_t *PluginInfo (void) #endif typedef enum {