]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/timeq.c
Couple of srvx updates.
[irc/evilnet/x3.git] / src / timeq.c
index 057c1903b51e2993cbe8c4796bc6483286da5a53..10893aa6d5eb0cbc4ba5a6633d53c4eba39c63de 100644 (file)
@@ -30,7 +30,7 @@ struct timeq_entry {
 };
 
 static void
-timeq_cleanup(void)
+timeq_cleanup(UNUSED_ARG(void *extra))
 {
     timeq_del(0, 0, 0, TIMEQ_IGNORE_WHEN|TIMEQ_IGNORE_FUNC|TIMEQ_IGNORE_DATA);
     heap_delete(timeq);
@@ -41,7 +41,7 @@ static void
 timeq_init(void)
 {
     timeq = heap_new(ulong_comparator);
-    reg_exit_func(timeq_cleanup);
+    reg_exit_func(timeq_cleanup, NULL);
 }
 
 unsigned long