diff src/blist.h @ 12323:fc464a0abccc

[gaim-migrate @ 14627] Function prototypes need to be of the form foo(void); instead of foo(); for function that don't take any arguments. This allows the compiler to detect mistakes were someone passes arguments to such a function. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 04 Dec 2005 18:19:56 +0000
parents 7630a95f3b8b
children e63a80be5227
line wrap: on
line diff
--- a/src/blist.h	Sun Dec 04 18:19:06 2005 +0000
+++ b/src/blist.h	Sun Dec 04 18:19:56 2005 +0000
@@ -204,7 +204,7 @@
  *
  * @return The new buddy list.
  */
-GaimBuddyList *gaim_blist_new();
+GaimBuddyList *gaim_blist_new(void);
 
 /**
  * Sets the main buddy list.
@@ -233,13 +233,13 @@
 /**
  * Shows the buddy list, creating a new one if necessary.
  */
-void gaim_blist_show();
+void gaim_blist_show(void);
 
 
 /**
  * Destroys the buddy list window.
  */
-void gaim_blist_destroy();
+void gaim_blist_destroy(void);
 
 /**
  * Hides or unhides the buddy list.
@@ -443,7 +443,7 @@
  *
  * @return       A new contact struct
  */
-GaimContact *gaim_contact_new();
+GaimContact *gaim_contact_new(void);
 
 /**
  * Adds a new contact to the buddy list.
@@ -717,7 +717,7 @@
 /**
  * Loads the buddy list from ~/.gaim/blist.xml.
  */
-void gaim_blist_load();
+void gaim_blist_load(void);
 
 /**
  * Schedule a save of the blist.xml file.  This is used by the privacy
@@ -726,7 +726,7 @@
  * the buddy list is saved automatically, so you should not need to
  * call this.
  */
-void gaim_blist_schedule_save();
+void gaim_blist_schedule_save(void);
 
 /**
  * Requests from the user information needed to add a buddy to the