summaryrefslogtreecommitdiff
path: root/libpurple/idle.c
diff options
context:
space:
mode:
authorRichard Laager <rlaager@pidgin.im>2008-01-03 04:57:40 +0000
committerRichard Laager <rlaager@pidgin.im>2008-01-03 04:57:40 +0000
commit74334693b0adc5e2f840e3a0dfa85604c2b4a32b (patch)
tree45ffcff8e1b93920a2ef1507c39806b0cca80cd9 /libpurple/idle.c
parent9b6bdba0106b24f2e0ed4d9bd64ebf1ed99f4575 (diff)
downloadpidgin-74334693b0adc5e2f840e3a0dfa85604c2b4a32b.tar.gz
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.
Diffstat (limited to 'libpurple/idle.c')
-rw-r--r--libpurple/idle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpurple/idle.c b/libpurple/idle.c
index 820bdc2650..235ef46859 100644
--- a/libpurple/idle.c
+++ b/libpurple/idle.c
@@ -216,7 +216,7 @@ check_idleness(void)
* 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 @@ purple_idle_get_ui_ops(void)
}
static void *
-purple_idle_get_handle()
+purple_idle_get_handle(void)
{
static int handle;