changeset 29009:c2bc5f8071a2

Avoid these two compile warnings by using more specific function signatures: mxit.c:128: warning: no previous prototype for ¡Æmxit_register_uri_handler¡Ç splashscreen.c:61: warning: no previous prototype for ¡Æsplash_popup_enabled¡Ç
author Mark Doliner <mark@kingant.net>
date Mon, 23 Nov 2009 07:57:49 +0000
parents 66c4fbe088d0
children a23bfa8e59ca
files libpurple/protocols/mxit/mxit.c libpurple/protocols/mxit/mxit.h libpurple/protocols/mxit/splashscreen.h
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/mxit/mxit.c	Mon Nov 23 07:15:53 2009 +0000
+++ b/libpurple/protocols/mxit/mxit.c	Mon Nov 23 07:57:49 2009 +0000
@@ -125,7 +125,7 @@
 /*------------------------------------------------------------------------
  * Register MXit to receive URI click notifications from the UI
  */
-void mxit_register_uri_handler()
+void mxit_register_uri_handler(void)
 {
 	not_link_ref_count++;
 	if ( not_link_ref_count == 1 ) {
--- a/libpurple/protocols/mxit/mxit.h	Mon Nov 23 07:15:53 2009 +0000
+++ b/libpurple/protocols/mxit/mxit.h	Mon Nov 23 07:57:49 2009 +0000
@@ -182,7 +182,7 @@
 void mxit_enable_signals( struct MXitSession* session );
 
 #ifdef	MXIT_LINK_CLICK
-void mxit_register_uri_handler();
+void mxit_register_uri_handler(void);
 #endif
 
 
--- a/libpurple/protocols/mxit/splashscreen.h	Mon Nov 23 07:15:53 2009 +0000
+++ b/libpurple/protocols/mxit/splashscreen.h	Mon Nov 23 07:57:49 2009 +0000
@@ -39,7 +39,7 @@
 /*
  * Indicate if splash-screen popups are enabled.
  */
-gboolean splash_popup_enabled();
+gboolean splash_popup_enabled(struct MXitSession* session);
 
 /*
  * Save a new splash-screen.