Apply a patch by Jiří Techet which is preventing warnings when using -Wmissing-prototypes on compiling. Thanks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5187 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
2b11aa9a3e
commit
1cea0a2a52
@ -1,3 +1,10 @@
|
||||
2010-08-21 Frank Lanitz <frank@frank.uvena.de>
|
||||
|
||||
* src/plugindata.h:
|
||||
Apply a patch by Jiří Techet which is preventing warnings when using
|
||||
-Wmissing-prototypes on compiling. Thanks.
|
||||
|
||||
|
||||
2010-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
||||
* scintilla/KeyWords.cxx:
|
||||
|
@ -68,6 +68,7 @@ enum {
|
||||
* want your plugin to require the current Geany version on your machine.
|
||||
* You should update this value when using any new API features. */
|
||||
#define PLUGIN_VERSION_CHECK(api_required) \
|
||||
gint plugin_version_check(gint abi_ver);\
|
||||
gint plugin_version_check(gint abi_ver) \
|
||||
{ \
|
||||
if (abi_ver != GEANY_ABI_VERSION) \
|
||||
@ -113,6 +114,7 @@ GeanyPlugin;
|
||||
* extra PluginInfo features (such as an icon), so we don't need to break API
|
||||
* compatibility. Alternatively just add a new macro, PLUGIN_SET_INFO_FULL(). -ntrel */
|
||||
#define PLUGIN_SET_INFO(p_name, p_description, p_version, p_author) \
|
||||
void plugin_set_info(PluginInfo* info);\
|
||||
void plugin_set_info(PluginInfo* info) \
|
||||
{ \
|
||||
info->name = (p_name); \
|
||||
|
Loading…
x
Reference in New Issue
Block a user