SF.net SVN: geany-plugins:[1642] trunk/geanylatex/src

frlan at users.sourceforge.net frlan at xxxxx
Sat Oct 9 00:00:26 UTC 2010


Revision: 1642
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1642&view=rev
Author:   frlan
Date:     2010-10-09 00:00:26 +0000 (Sat, 09 Oct 2010)

Log Message:
-----------
GeanyLaTeX: Fix warnings about usage of function without previous prototype

Modified Paths:
--------------
    trunk/geanylatex/src/bibtex.h
    trunk/geanylatex/src/geanylatex.c
    trunk/geanylatex/src/geanylatex.h
    trunk/geanylatex/src/latexstructure.h
    trunk/geanylatex/src/templates.h

Modified: trunk/geanylatex/src/bibtex.h
===================================================================
--- trunk/geanylatex/src/bibtex.h	2010-10-08 23:32:14 UTC (rev 1641)
+++ trunk/geanylatex/src/bibtex.h	2010-10-09 00:00:26 UTC (rev 1642)
@@ -88,6 +88,6 @@
 
 void glatex_bibtex_write_entry(GPtrArray *entry, gint doctype);
 
-GPtrArray *glatex_bibtex_init_empty_entry();
+GPtrArray *glatex_bibtex_init_empty_entry(void);
 
 #endif

Modified: trunk/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geanylatex/src/geanylatex.c	2010-10-08 23:32:14 UTC (rev 1641)
+++ trunk/geanylatex/src/geanylatex.c	2010-10-09 00:00:26 UTC (rev 1642)
@@ -145,10 +145,10 @@
 
 /* Some functions*/
 static void toggle_toolbar_items_by_file_type(gint id);
-static void add_menu_to_menubar();
-static void remove_menu_from_menubar();
-static void add_wizard_to_generic_toolbar();
-static void remove_wizard_from_generic_toolbar();
+static void add_menu_to_menubar(void);
+static void remove_menu_from_menubar(void);
+static void add_wizard_to_generic_toolbar(void);
+static void remove_wizard_from_generic_toolbar(void);
 
 static GtkWidget *init_toolbar()
 {

Modified: trunk/geanylatex/src/geanylatex.h
===================================================================
--- trunk/geanylatex/src/geanylatex.h	2010-10-08 23:32:14 UTC (rev 1641)
+++ trunk/geanylatex/src/geanylatex.h	2010-10-09 00:00:26 UTC (rev 1642)
@@ -69,7 +69,7 @@
 	 G_GNUC_UNUSED gpointer gdata);
 void glatex_insert_ref_activated(G_GNUC_UNUSED GtkMenuItem * menuitem,
 	 G_GNUC_UNUSED gpointer gdata);
-void glatex_replace_special_character();
+void glatex_replace_special_character(void);
 void glatex_insert_usepackage_dialog(G_GNUC_UNUSED GtkMenuItem * menuitem,
 	 G_GNUC_UNUSED gpointer gdata);
 void glatex_insert_command_activated(G_GNUC_UNUSED GtkMenuItem * menuitem,

Modified: trunk/geanylatex/src/latexstructure.h
===================================================================
--- trunk/geanylatex/src/latexstructure.h	2010-10-08 23:32:14 UTC (rev 1641)
+++ trunk/geanylatex/src/latexstructure.h	2010-10-09 00:00:26 UTC (rev 1642)
@@ -37,7 +37,7 @@
 
 extern const gchar *glatex_structure_values[];
 
-void glatex_structure_lvlup();
-void glatex_structure_lvldown();
+void glatex_structure_lvlup(void);
+void glatex_structure_lvldown(void);
 gint glatex_structure_rotate(gboolean direction, gint start);
 #endif

Modified: trunk/geanylatex/src/templates.h
===================================================================
--- trunk/geanylatex/src/templates.h	2010-10-08 23:32:14 UTC (rev 1641)
+++ trunk/geanylatex/src/templates.h	2010-10-09 00:00:26 UTC (rev 1642)
@@ -76,8 +76,8 @@
 \\end{document}\n"
 
 GString *glatex_get_template_from_file(gchar *filepath);
-GPtrArray *glatex_init_custom_templates();
-GList *glatex_get_template_list_from_config_dir();
+GPtrArray *glatex_init_custom_templates(void);
+GList *glatex_get_template_list_from_config_dir(void);
 void glatex_free_template_entry(TemplateEntry *template, gpointer *data);
 void glatex_add_templates_to_combobox(GPtrArray *templates, GtkWidget *combobox);
 


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



More information about the Plugins-Commits mailing list