From: Alan T. DeKok Date: Wed, 19 Aug 2015 10:50:44 +0000 (-0400) Subject: Make it build... X-Git-Tag: release_3_0_10~214 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3350e904f7c26adda0943db64bce08708a07ee5b;p=thirdparty%2Ffreeradius-server.git Make it build... OSX is much more forgiving than other platforms --- diff --git a/src/tests/map/map_unit.c b/src/tests/map/map_unit.c index 95cf363b999..eb01f9b7d81 100644 --- a/src/tests/map/map_unit.c +++ b/src/tests/map/map_unit.c @@ -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; }