Branch: refs/heads/1.22_release Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 08 Jul 2012 14:45:06 Commit: d4aa44e5a81eee05d4327a9b0349b9618e685489 https://github.com/geany/geany-plugins/commit/d4aa44e5a81eee05d4327a9b0349b9...
Log Message: ----------- geanyvc: Use proper C prototypes for functions without arguments
Modified Paths: -------------- geanyvc/src/externdiff.c geanyvc/src/geanyvc.c geanyvc/src/geanyvc.h geanyvc/src/utils.c geanyvc/tests/unittests.c
Modified: geanyvc/src/externdiff.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -43,7 +43,7 @@ enum
static gchar *extern_diff_viewer = NULL; const gchar * -get_external_diff_viewer() +get_external_diff_viewer(void) { gint i;
Modified: geanyvc/src/geanyvc.c 18 files changed, 9 insertions(+), 9 deletions(-) =================================================================== @@ -113,9 +113,9 @@ static GtkWidget *menu_entry = NULL;
-static void registrate(); -static void add_menuitems_to_editor_menu(); -static void remove_menuitems_from_editor_menu(); +static void registrate(void); +static void add_menuitems_to_editor_menu(void); +static void remove_menuitems_from_editor_menu(void);
/* Doing some basic keybinding stuff */ @@ -1607,7 +1607,7 @@ static void commit_tree_selection_changed_cb(GtkTreeSelection *sel, GtkTextView static GtkWidget *menu_vc_show_file = NULL;
static void -update_menu_items() +update_menu_items(void) { GeanyDocument *doc;
@@ -1931,7 +1931,7 @@ static void commit_tree_selection_changed_cb(GtkTreeSelection *sel, GtkTextView }
static void -load_config() +load_config(void) { #ifdef USE_GTKSPELL GError *error = NULL; @@ -1981,7 +1981,7 @@ static void commit_tree_selection_changed_cb(GtkTreeSelection *sel, GtkTextView }
static void -registrate() +registrate(void) { gchar *path; if (VC) @@ -2161,7 +2161,7 @@ static void commit_tree_selection_changed_cb(GtkTreeSelection *sel, GtkTextView }
static void -add_menuitems_to_editor_menu() +add_menuitems_to_editor_menu(void) { /* Add file menu also to editor menu (at mouse cursor) */ if (set_editor_menu_entries == TRUE && editor_menu_vc == NULL) @@ -2186,7 +2186,7 @@ static void commit_tree_selection_changed_cb(GtkTreeSelection *sel, GtkTextView }
static void -remove_menuitems_from_editor_menu() +remove_menuitems_from_editor_menu(void) { if (editor_menu_vc != NULL) { @@ -2320,7 +2320,7 @@ static void commit_tree_selection_changed_cb(GtkTreeSelection *sel, GtkTextView
/* Called by Geany before unloading the plugin. */ void -plugin_cleanup() +plugin_cleanup(void) { remove_menuitems_from_editor_menu(); gtk_widget_destroy(menu_entry);
Modified: geanyvc/src/geanyvc.h 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -133,7 +133,7 @@ enum extern const gchar *NO_ENV[];
/* External diff viewer */ -const gchar *get_external_diff_viewer(); +const gchar *get_external_diff_viewer(void); void vc_external_diff(const gchar * src, const gchar * dest);
/* utils.c */
Modified: geanyvc/src/utils.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -158,7 +158,7 @@
TCase * -utils_test_case_create() +utils_test_case_create(void) { TCase *tc_utils = tcase_create("utils"); tcase_add_test(tc_utils, test_get_relative_path);
Modified: geanyvc/tests/unittests.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -6,7 +6,7 @@ #include <gtk/gtk.h> #include "geany.h"
-extern TCase *utils_test_case_create(); +extern TCase *utils_test_case_create(void);
Suite * my_suite(void)
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
plugins-commits@lists.geany.org