BASE: Fix Redundant Declaration Warnings in Plugin Macros

These generated GCC Warnings when -Wredundant-decls is enabled.
This commit is contained in:
D G Turner 2022-03-07 11:42:19 +00:00
parent 34bc417d12
commit f8e18b81f5

View File

@ -89,7 +89,7 @@ extern int pluginTypeVersions[PLUGIN_TYPE_MAX];
PluginObject *g_##ID##_getObject() { \
return new PLUGINCLASS(); \
} \
void dummyFuncToAllowTrailingSemicolon()
void dummyFuncToAllowTrailingSemicolon_##ID##_()
#ifdef DYNAMIC_MODULES
@ -113,7 +113,7 @@ extern int pluginTypeVersions[PLUGIN_TYPE_MAX];
return new PLUGINCLASS(); \
} \
} \
void dummyFuncToAllowTrailingSemicolon()
void dummyFuncToAllowTrailingSemicolon_##ID##_()
#endif // DYNAMIC_MODULES