Mercurial > pidgin.yaz
changeset 22077:97c40983e5f7
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.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 14 Jan 2008 03:33:21 +0000 |
parents | d60aa8fdad55 |
children | 1879516dae08 |
files | libpurple/protocols/zephyr/ZSendList.c libpurple/protocols/zephyr/ZSendNot.c libpurple/protocols/zephyr/zephyr.h |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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;
--- 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,