comparison pidgin/gtksession.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 c103b0ea456f
children d128201714e9
comparison
equal deleted inserted replaced
21975:c7c5e2ff2b04 22007:c38d72677c8a
122 (*ice_installed_io_error_handler)(connection); 122 (*ice_installed_io_error_handler)(connection);
123 123
124 purple_debug(PURPLE_DEBUG_INFO, NULL, "done.\n"); 124 purple_debug(PURPLE_DEBUG_INFO, NULL, "done.\n");
125 } 125 }
126 126
127 static void ice_init() { 127 static void ice_init(void) {
128 IceIOErrorHandler default_handler; 128 IceIOErrorHandler default_handler;
129 129
130 ice_installed_io_error_handler = IceSetIOErrorHandler(NULL); 130 ice_installed_io_error_handler = IceSetIOErrorHandler(NULL);
131 default_handler = IceSetIOErrorHandler(ice_io_error_handler); 131 default_handler = IceSetIOErrorHandler(ice_io_error_handler);
132 132