*
* x3 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
-shun_db_cleanup(void)
+shun_db_cleanup(UNUSED_ARG(void *extra))
{
heap_delete(shun_heap);
dict_delete(shun_dict);
shun_dict = dict_new();
dict_set_free_data(shun_dict, free_shun_from_dict);
saxdb_register("shun", shun_saxdb_read, shun_saxdb_write);
- reg_exit_func(shun_db_cleanup);
+ reg_exit_func(shun_db_cleanup, NULL);
}
struct shun_discrim *
heap_remove_pred(shun_heap, shun_search_helper, &search);
return search.hits;
}
+