# HG changeset patch # User Richard Laager # Date 1200281601 0 # Node ID 97c40983e5f7238bd28b353ba3e4e8f8da53bbd8 # Parent d60aa8fdad55a20f5240130050fcd29767dd3f7f 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. diff -r d60aa8fdad55 -r 97c40983e5f7 libpurple/protocols/zephyr/ZSendList.c --- a/libpurple/protocols/zephyr/ZSendList.c Mon Jan 14 03:26:47 2008 +0000 +++ b/libpurple/protocols/zephyr/ZSendList.c Mon Jan 14 03:33:21 2008 +0000 @@ -24,7 +24,7 @@ char *list[]; int nitems; Z_AuthProc cert_routine; - Code_t (*send_routine)(void); + Code_t (*send_routine)(); { Code_t retval; ZNotice_t newnotice; diff -r d60aa8fdad55 -r 97c40983e5f7 libpurple/protocols/zephyr/ZSendNot.c --- a/libpurple/protocols/zephyr/ZSendNot.c Mon Jan 14 03:26:47 2008 +0000 +++ b/libpurple/protocols/zephyr/ZSendNot.c Mon Jan 14 03:33:21 2008 +0000 @@ -20,7 +20,7 @@ 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; diff -r d60aa8fdad55 -r 97c40983e5f7 libpurple/protocols/zephyr/zephyr.h --- a/libpurple/protocols/zephyr/zephyr.h Mon Jan 14 03:26:47 2008 +0000 +++ b/libpurple/protocols/zephyr/zephyr.h Mon Jan 14 03:33:21 2008 +0000 @@ -163,9 +163,9 @@ 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,