Mercurial > pidgin
comparison libpurple/idle.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 | 44b4e8bd759b |
children | 76e0463db3aa |
comparison
equal
deleted
inserted
replaced
21975:c7c5e2ff2b04 | 22007:c38d72677c8a |
---|---|
214 | 214 |
215 /* | 215 /* |
216 * Check idle and set the timer to fire at the next idle-worth event | 216 * Check idle and set the timer to fire at the next idle-worth event |
217 */ | 217 */ |
218 static gint | 218 static gint |
219 check_idleness_timer() | 219 check_idleness_timer(void) |
220 { | 220 { |
221 check_idleness(); | 221 check_idleness(); |
222 if (time_until_next_idle_event == 0) | 222 if (time_until_next_idle_event == 0) |
223 idle_timer = 0; | 223 idle_timer = 0; |
224 else | 224 else |
293 { | 293 { |
294 return idle_ui_ops; | 294 return idle_ui_ops; |
295 } | 295 } |
296 | 296 |
297 static void * | 297 static void * |
298 purple_idle_get_handle() | 298 purple_idle_get_handle(void) |
299 { | 299 { |
300 static int handle; | 300 static int handle; |
301 | 301 |
302 return &handle; | 302 return &handle; |
303 } | 303 } |