summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/db.c2
-rw-r--r--src/common/db.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/common/db.c b/src/common/db.c
index f414ca04d..b227d66bc 100644
--- a/src/common/db.c
+++ b/src/common/db.c
@@ -81,6 +81,8 @@
#include "../common/showmsg.h"
#include "../common/strlib.h"
+struct db_interface DB_s;
+
/*****************************************************************************\
* (1) Private typedefs, enums, structures, defines and global variables of *
* the database system. *
diff --git a/src/common/db.h b/src/common/db.h
index f807188eb..f500520a9 100644
--- a/src/common/db.h
+++ b/src/common/db.h
@@ -914,7 +914,7 @@ void (*init) (void);
* @see #db_init(void)
*/
void (*final) (void);
-} DB_s;
+};
struct db_interface *DB;