X-Git-Url: http://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/29be96760e9f08d0165dc1b5ca25cbd0823f9762..0ea001fde2555a1335161632b2d78c9397d8f53d:/src/module.c diff --git a/src/module.c b/src/module.c index 025d600..24ef250 100644 --- a/src/module.c +++ b/src/module.c @@ -109,7 +109,7 @@ static int modcmp(const void *a, const void *b, void *_data) int module_init(void) { if (!initialized) { - package_tree = avl_create(modcmp, 0, &avl_allocator_default); + package_tree = avl_create(modcmp, NULL, NULL); if (!package_tree) { fprintf(stderr, "%s: failed to create package tree.\n", __func__); return -1;