changeset 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 33f4a9e685a3
children 27d665278485
files libpurple/connection.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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