diff mcabber/src/commands.c @ 1059:875d2c9d399c

Code cleanup Fix some prototypes.
author Mikael Berthe <mikael@lilotux.net>
date Thu, 30 Nov 2006 20:48:01 +0100
parents c0d44a9a99bc
children 516b5f7d1023
line wrap: on
line diff
--- a/mcabber/src/commands.c	Thu Nov 30 19:51:09 2006 +0100
+++ b/mcabber/src/commands.c	Thu Nov 30 20:48:01 2006 +0100
@@ -77,7 +77,7 @@
 //  cmd_add()
 // Adds a command to the commands list and to the CMD completion list
 static void cmd_add(const char *name, const char *help,
-        guint flags_row1, guint flags_row2, void (*f)())
+        guint flags_row1, guint flags_row2, void (*f)(char*))
 {
   cmd *n_cmd = g_new0(cmd, 1);
   strncpy(n_cmd->name, name, 32-1);
@@ -521,7 +521,7 @@
   g_free(note);
 }
 
-static void display_all_annotations()
+static void display_all_annotations(void)
 {
   GSList *notes;
   notes = jb_get_all_storage_rosternotes();