# HG changeset patch
# User Mark Doliner <mark@kingant.net>
# Date 1258963069 0
# Node ID c2bc5f8071a2df1cf4c4f8fd26fa86604a9574df
# Parent  66c4fbe088d08b0f568e9f15df133133b3e98d9c
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’

diff -r 66c4fbe088d0 -r c2bc5f8071a2 libpurple/protocols/mxit/mxit.c
--- 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 ) {
diff -r 66c4fbe088d0 -r c2bc5f8071a2 libpurple/protocols/mxit/mxit.h
--- 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
 
 
diff -r 66c4fbe088d0 -r c2bc5f8071a2 libpurple/protocols/mxit/splashscreen.h
--- 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.