projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e3bd43
)
Linker hacks
author
Alan T. DeKok
<aland@freeradius.org>
Wed, 19 Aug 2015 10:45:18 +0000
(06:45 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Wed, 19 Aug 2015 10:45:18 +0000
(06:45 -0400)
src/tests/map/map_unit.c
patch
|
blob
|
history
diff --git
a/src/tests/map/map_unit.c
b/src/tests/map/map_unit.c
index
dd54249
..
95cf363
100644
(file)
--- 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 <sys/wait.h>
+/* 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");