im.pidgin.pidgin: 485edaeb03836f8ddebeae8f6c49e97c26c60acf

rlaager at pidgin.im rlaager at pidgin.im
Sun Jan 13 23:22:49 EST 2008


-----------------------------------------------------------------
Revision: 485edaeb03836f8ddebeae8f6c49e97c26c60acf
Ancestor: 5302d7987e7e148ac76200cae33343e2456b1b73
Author: rlaager at pidgin.im
Date: 2008-01-14T03:33:21
Branch: im.pidgin.pidgin

Modified files:
        libpurple/protocols/zephyr/ZSendList.c
        libpurple/protocols/zephyr/ZSendNot.c
        libpurple/protocols/zephyr/zephyr.h

ChangeLog: 

Revert some of my -Wstrict-prototypes fixes here, as they are causing more
warnings that I can't fix without making things worse when compiling with
a system zephyr library.

-------------- next part --------------
============================================================
--- libpurple/protocols/zephyr/ZSendList.c	2f58bcfcbca9e0a4f4aa6239cdddadd7682ca472
+++ libpurple/protocols/zephyr/ZSendList.c	c95bd1e3e3a12df8512201b3d266f95b2f64a797
@@ -24,7 +24,7 @@ Code_t ZSrvSendList(notice, list, nitems
     char *list[];
     int nitems;
     Z_AuthProc cert_routine;
-    Code_t (*send_routine)(void);
+    Code_t (*send_routine)();
 {
     Code_t retval;
     ZNotice_t newnotice;
============================================================
--- libpurple/protocols/zephyr/ZSendNot.c	19f4b99a77e652ab809d487eddd715a5705c7972
+++ libpurple/protocols/zephyr/ZSendNot.c	b58f06e928ef654263d59db9889a020059f39618
@@ -20,7 +20,7 @@ Code_t ZSrvSendNotice(notice, cert_routi
 Code_t ZSrvSendNotice(notice, cert_routine, send_routine)
     ZNotice_t *notice;
     Z_AuthProc cert_routine;
-    Code_t (*send_routine)(void);
+    Code_t (*send_routine)();
 {    
     Code_t retval;
     ZNotice_t newnotice;
============================================================
--- libpurple/protocols/zephyr/zephyr.h	0403c861781bf282ebadc930e3e41b04a8c2efba
+++ libpurple/protocols/zephyr/zephyr.h	683236ff79c4fbad18f1f1ebc8c743a193fcf1d4
@@ -163,9 +163,9 @@ Code_t ZSendList ZP((ZNotice_t*, char *[
 Code_t ZReadAscii16 ZP((char *, int, unsigned short *));
 Code_t ZSendPacket ZP((char*, int, int));
 Code_t ZSendList ZP((ZNotice_t*, char *[], int, Z_AuthProc));
-Code_t ZSrvSendList ZP((ZNotice_t*, char*[], int, Z_AuthProc, Code_t (*)(void)));
+Code_t ZSrvSendList ZP((ZNotice_t*, char*[], int, Z_AuthProc, Code_t (*)()));
 Code_t ZSendNotice ZP((ZNotice_t *, Z_AuthProc));
-Code_t ZSrvSendNotice ZP((ZNotice_t*, Z_AuthProc, Code_t (*)(void)));
+Code_t ZSrvSendNotice ZP((ZNotice_t*, Z_AuthProc, Code_t (*)()));
 Code_t ZFormatNotice ZP((ZNotice_t*, char**, int*, Z_AuthProc));
 Code_t ZFormatSmallNotice ZP((ZNotice_t*, ZPacket_t, int*, Z_AuthProc));
 Code_t ZFormatRawNoticeList ZP((ZNotice_t *notice, char *list[], int nitems,


More information about the Commits mailing list