[geany/geany-plugins] 6e7cf3: TableConvert: Mark local functions static

Colomban Wendling git-noreply at xxxxx
Sun Jul 8 17:09:24 UTC 2012


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 08 Jul 2012 17:09:24
Commit:      6e7cf302d7752415a98751b2c9048a106f01ef2a
             https://github.com/geany/geany-plugins/commit/6e7cf302d7752415a98751b2c9048a106f01ef2a

Log Message:
-----------
TableConvert: Mark local functions static


Modified Paths:
--------------
    tableconvert/src/tableconvert.c

Modified: tableconvert/src/tableconvert.c
6 files changed, 3 insertions(+), 3 deletions(-)
===================================================================
@@ -187,7 +187,7 @@ static GString* convert_to_table_sql(gchar** rows)
 	return replacement_str;
 }
 
-void convert_to_table(gboolean header)
+static void convert_to_table(gboolean header)
 {
 	GeanyDocument *doc = NULL;
 	doc = document_get_current();
@@ -262,7 +262,7 @@ void convert_to_table(gboolean header)
 	return;
 }
 
-void kb_convert_to_table(G_GNUC_UNUSED guint key_id)
+static void kb_convert_to_table(G_GNUC_UNUSED guint key_id)
 {
 	g_return_if_fail(document_get_current() != NULL);
 	convert_to_table(TRUE);
@@ -278,7 +278,7 @@ static void init_keybindings(void)
 		_("Convert selection to table"), NULL);
 }
 
-void cb_table_convert(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gpointer gdata)
+static void cb_table_convert(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gpointer gdata)
 {
 	convert_to_table(TRUE);
 }


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Plugins-Commits mailing list