From: Alan T. DeKok Date: Wed, 19 Aug 2015 10:45:18 +0000 (-0400) Subject: Linker hacks X-Git-Tag: release_3_0_10~215 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d4f803d7f97d4ef18d7469378920bada7708fe5;p=thirdparty%2Ffreeradius-server.git Linker hacks --- diff --git a/src/tests/map/map_unit.c b/src/tests/map/map_unit.c index dd542499adf..95cf363b999 100644 --- a/src/tests/map/map_unit.c +++ b/src/tests/map/map_unit.c @@ -41,6 +41,25 @@ extern log_lvl_t rad_debug_lvl; #include +/* Linker hacks */ + +rlm_rcode_t indexed_modcall(rlm_components_t comp, int idx, REQUEST *request) +{ + return RLM_MODULE_OK; +} + +char const *get_radius_dir(void) +{ + return NULL; +} + +void *module_instantiate(CONF_SECTION *modules, char const *askedname) +{ + return NULL; +} + +/* Linker hacks */ + static void NEVER_RETURNS usage(void) { fprintf(stderr, "usage: map_unit [OPTS] filename ...\n");