From 40a0474d37ef694dbde6a45822e03b77759a4960 Mon Sep 17 00:00:00 2001 From: Teemu Toivola Date: Sun, 8 Jan 2017 22:53:18 +0200 Subject: [PATCH] fix tests --- tests/database_tests.c | 4 ++++ tests/database_tests.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/database_tests.c b/tests/database_tests.c index 44e0561..f162482 100644 --- a/tests/database_tests.c +++ b/tests/database_tests.c @@ -1,6 +1,7 @@ #include "vnstat_tests.h" #include "database_tests.h" #include "common.h" +#include "dbaccess.h" #include "ifinfo.h" //#include "dbshow.h" //#include "dbxml.h" @@ -9,6 +10,9 @@ #include "ibw.h" #include "fs.h" +int writedb(DATA *data, const char *iface, const char *dirname, int newdb); +int backupdb(const char *current, const char *backup); + START_TEST(initdb_activates_database) { DATA data; diff --git a/tests/database_tests.h b/tests/database_tests.h index b167013..54c906a 100644 --- a/tests/database_tests.h +++ b/tests/database_tests.h @@ -1,10 +1,6 @@ #ifndef DATABASE_TESTS_H #define DATABASE_TESTS_H -#include "dbaccess.h" - void add_database_tests(Suite *s); -int writedb(DATA *data, const char *iface, const char *dirname, int newdb); -int backupdb(const char *current, const char *backup); #endif -- 2.40.0