]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Make it build...
authorAlan T. DeKok <aland@freeradius.org>
Wed, 19 Aug 2015 10:50:44 +0000 (06:50 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 19 Aug 2015 10:50:44 +0000 (06:50 -0400)
OSX is much more forgiving than other platforms

src/tests/map/map_unit.c

index 95cf363b9998ed52bd967838e2cd1ad604e50689..eb01f9b7d815a9d797ea646ba187af16dcdd54c0 100644 (file)
@@ -43,7 +43,7 @@ extern log_lvl_t rad_debug_lvl;
 
 /* Linker hacks */
 
-rlm_rcode_t indexed_modcall(rlm_components_t comp, int idx, REQUEST *request)
+rlm_rcode_t indexed_modcall(UNUSED rlm_components_t comp, UNUSED int idx, UNUSED REQUEST *request)
 {
        return RLM_MODULE_OK;
 }
@@ -53,7 +53,7 @@ char const *get_radius_dir(void)
        return NULL;
 }
 
-void *module_instantiate(CONF_SECTION *modules, char const *askedname)
+module_instance_t *module_instantiate(UNUSED CONF_SECTION *modules, UNUSED char const *askedname)
 {
        return NULL;
 }