[geany/geany-plugins] 4ce32c: geanymacro: Use proper C prototypes for functions without arguments

Colomban Wendling git-noreply at xxxxx
Sun Jul 8 14:41:26 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 14:41:26
Commit:      4ce32c00254ba4e5c0bfe1dc22405fe50194de37
             https://github.com/geany/geany-plugins/commit/4ce32c00254ba4e5c0bfe1dc22405fe50194de37

Log Message:
-----------
geanymacro: Use proper C prototypes for functions without arguments


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

Modified: geanymacro/src/geanymacro.c
6 files changed, 3 insertions(+), 3 deletions(-)
===================================================================
@@ -511,7 +511,7 @@ static gchar *MacroEventToString(MacroEvent *me)
 
 
 /* Is there a document open in the editor */
-static gboolean DocumentPresent()
+static gboolean DocumentPresent(void)
 {
   return (document_get_current()!=NULL);
 }
@@ -1176,7 +1176,7 @@ static gboolean InitializeMacroRecord(void)
 
 
 /* function to start the macro recording process */
-static void StartRecordingMacro()
+static void StartRecordingMacro(void)
 {
 	/* start recording process, but quit if error, or user cancels */
 	if(!InitializeMacroRecord())
@@ -1190,7 +1190,7 @@ static void StartRecordingMacro()
 
 
 /* function to finish recording a macro */
-static void StopRecordingMacro()
+static void StopRecordingMacro(void)
 {
 	scintilla_send_message(document_get_current()->editor->sci,SCI_STOPRECORD,0,0);
 	/* Recorded in reverse as more efficient */


@@ 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