]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add stub functions
authorAlan T. DeKok <aland@freeradius.org>
Fri, 6 Jul 2018 17:45:32 +0000 (13:45 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 6 Jul 2018 17:45:32 +0000 (13:45 -0400)
src/main/radwho.c
src/main/unit_test_attribute.c
src/main/unit_test_map.c
src/main/unit_test_module.c

index 4ed747e6e6a01c258e0178380a18a2e55de4591f..075814ab252fa08c249dc6db4c50350d9c0cb777 100644 (file)
@@ -59,6 +59,11 @@ static const CONF_PARSER module_config[] = {
   CONF_PARSER_TERMINATOR
 };
 
+int fr_radmin_register(UNUSED char const *name, UNUSED void *ctx, UNUSED fr_cmd_table_t *table)
+{
+       return 0;
+}
+
 /*
  *     Get fullname of a user.
  */
index b876ed6a9eb0cbd03ae8096d688784f85cd4eb26..428c106e82c19c2e4816f0752215bcf0cbb6dc8a 100644 (file)
@@ -70,6 +70,11 @@ pid_t rad_waitpid(pid_t pid, int *status)
        return waitpid(pid, status, 0);
 }
 
+int fr_radmin_register(UNUSED char const *name, UNUSED void *ctx, UNUSED fr_cmd_table_t *table)
+{
+       return 0;
+}
+
 static ssize_t xlat_test(UNUSED TALLOC_CTX *ctx, UNUSED char **out, UNUSED size_t outlen,
                         UNUSED void const *mod_inst, UNUSED void const *xlat_inst,
                         UNUSED REQUEST *request, UNUSED char const *fmt)
index c3dc566b0ea4157e8140edbedfc014f6a042f012..c4819af355a6e989ae9e10b7730f7eb5511ab8c7 100644 (file)
@@ -49,6 +49,11 @@ module_thread_instance_t *module_thread_instance_find(UNUSED module_instance_t *
        return NULL;
 }
 
+int fr_radmin_register(UNUSED char const *name, UNUSED void *ctx, UNUSED fr_cmd_table_t *table)
+{
+       return 0;
+}
+
 /* Linker hacks */
 
 static void NEVER_RETURNS usage(void)
index 0d9b348da4fc6bb71d539835dc1df6dc31232b82..475ceeda47c14611971b97a47d3244429df9f578 100644 (file)
@@ -110,6 +110,11 @@ fr_dict_attr_autoload_t unit_test_module_dict_attr[] = {
        { NULL }
 };
 
+int fr_radmin_register(UNUSED char const *name, UNUSED void *ctx, UNUSED fr_cmd_table_t *table)
+{
+       return 0;
+}
+
 /*
  *     Static functions.
  */