*
* srvx is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
};
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);
timeq_init(void)
{
timeq = heap_new(ulong_comparator);
- reg_exit_func(timeq_cleanup);
+ reg_exit_func(timeq_cleanup, NULL);
}
unsigned long