SF.net SVN: geany:[5187] trunk

frlan at users.sourceforge.net frlan at xxxxx
Sat Aug 21 09:07:46 UTC 2010


Revision: 5187
          http://geany.svn.sourceforge.net/geany/?rev=5187&view=rev
Author:   frlan
Date:     2010-08-21 09:07:46 +0000 (Sat, 21 Aug 2010)

Log Message:
-----------
Apply a patch by Ji?\197?\153?\195?\173 Techet which is preventing warnings when using  -Wmissing-prototypes on compiling. Thanks.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/plugindata.h

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-08-20 16:04:45 UTC (rev 5186)
+++ trunk/ChangeLog	2010-08-21 09:07:46 UTC (rev 5187)
@@ -1,3 +1,10 @@
+2010-08-21  Frank Lanitz  <frank at 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:

Modified: trunk/src/plugindata.h
===================================================================
--- trunk/src/plugindata.h	2010-08-20 16:04:45 UTC (rev 5186)
+++ trunk/src/plugindata.h	2010-08-21 09:07:46 UTC (rev 5187)
@@ -68,6 +68,7 @@
  * 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 @@
  * 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); \


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list