diff libpurple/connection.h @ 21968:a463f05b4566

Felipe Contreras, one of our older Crazy Pacth Writers, noticed that these prototypes were incorrect when he compiled with -Wstrict-prototypes.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Mon, 31 Dec 2007 03:06:42 +0000
parents 8ffb65f3c0e9
children 252b96b6a32c
line wrap: on
line diff
--- a/libpurple/connection.h	Sun Dec 30 18:46:56 2007 +0000
+++ b/libpurple/connection.h	Mon Dec 31 03:06:42 2007 +0000
@@ -196,11 +196,11 @@
 	 *  available; on Windows, it uses Win32's network change notification
 	 *  infrastructure.
 	 */
-	void (*network_connected)();
+	void (*network_connected)(void);
 	/** Called when libpurple discovers that the computer's network
 	 *  connection has gone away.
 	 */
-	void (*network_disconnected)();
+	void (*network_disconnected)(void);
 
 	/** Called when an error causes a connection to be disconnected.
 	 *  Called before #disconnected.  This op is intended to replace