diff 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
line wrap: on
line diff
--- a/libpurple/idle.c	Wed Jan 02 22:15:06 2008 +0000
+++ b/libpurple/idle.c	Thu Jan 03 04:57:40 2008 +0000
@@ -216,7 +216,7 @@
  * Check idle and set the timer to fire at the next idle-worth event 
  */
 static gint
-check_idleness_timer()
+check_idleness_timer(void)
 {
 	check_idleness();
 	if (time_until_next_idle_event == 0)
@@ -295,7 +295,7 @@
 }
 
 static void *
-purple_idle_get_handle()
+purple_idle_get_handle(void)
 {
 	static int handle;