mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 10:17:22 +00:00
BASE: Fix Redundant Declaration Warnings in Plugin Macros
These generated GCC Warnings when -Wredundant-decls is enabled.
This commit is contained in:
parent
34bc417d12
commit
f8e18b81f5
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user