Mercurial > pidgin
diff finch/gntconv.c @ 22007:c38d72677c8a
Probe for -Wstrict-prototypes to get some more warnings. I then cleaned up
the existing warnings. I removed a handful of dead code and cleaned up a
couple of things that I stumbled across.
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Thu, 03 Jan 2008 04:57:40 +0000 |
| parents | 5ff16647c50d |
| children | 6bb29f94862c |
line wrap: on
line diff
--- a/finch/gntconv.c Wed Jan 02 22:15:06 2008 +0000 +++ b/finch/gntconv.c Thu Jan 03 04:57:40 2008 +0000 @@ -350,7 +350,7 @@ } static gpointer -finch_conv_get_handle() +finch_conv_get_handle(void) { static int handle; return &handle; @@ -1119,7 +1119,7 @@ static PurpleCmdRet cmd_show_window(PurpleConversation *conv, const char *cmd, char **args, char **error, gpointer data) { - void (*callback)() = data; + void (*callback)(void) = data; callback(); return PURPLE_CMD_STATUS_OK; }
