summaryrefslogtreecommitdiffstats
path: root/web/api/tests/web_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'web/api/tests/web_api.c')
-rw-r--r--web/api/tests/web_api.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/web/api/tests/web_api.c b/web/api/tests/web_api.c
index df4efdab..fd9a86ef 100644
--- a/web/api/tests/web_api.c
+++ b/web/api/tests/web_api.c
@@ -8,6 +8,17 @@
#include <cmocka.h>
#include <stdbool.h>
+void free_temporary_host(RRDHOST *host)
+{
+ (void) host;
+}
+
+void *__wrap_free_temporary_host(RRDHOST *host)
+{
+ (void) host;
+ return NULL;
+}
+
RRDHOST *sql_create_host_by_uuid(char *hostname)
{
(void) hostname;