From: Arran Cudbard-Bell Date: Fri, 28 Apr 2017 18:49:41 +0000 (-0400) Subject: and again... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fef2030de85009fa02fba8109d370790167f1dd9;p=thirdparty%2Ffreeradius-server.git and again... --- diff --git a/src/main/dl.c b/src/main/dl.c index 037d6ad05f0..0b3e5bc7546 100644 --- a/src/main/dl.c +++ b/src/main/dl.c @@ -81,7 +81,6 @@ struct dl_symbol_free { * */ typedef struct dl_loader { - /** Linked list of symbol init callbacks * * @note Is linked list to retain insertion order. We don't expect huge numbers @@ -117,7 +116,7 @@ static FR_NAME_NUMBER const dl_type_prefix[] = { { NULL , -1 }, }; -static int dl_init(CONF_SECTION *cs); +static int dl_init(void); static int dl_symbol_init_cmp(void const *one, void const *two) { @@ -668,7 +667,7 @@ dl_t const *dl_module(CONF_SECTION *conf, dl_t const *parent, char const *name, char *p, *q; dl_common_t const *module; - if (!dl) dl_init(cf_item_root(cf_section_to_item(conf))); + if (!dl) dl_init(); if (parent) { to_find.name = module_name = talloc_asprintf(NULL, "%s_%s_%s",