]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
and again...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 28 Apr 2017 18:49:41 +0000 (14:49 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 28 Apr 2017 19:34:24 +0000 (15:34 -0400)
src/main/dl.c

index 037d6ad05f06188311250a31ed22e88ab8e452ce..0b3e5bc7546cb395cf4953dd7d8edd7e8cf04cfd 100644 (file)
@@ -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",