From 0689839791af36fc9207a6b6ddcc03f9dfc04692 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 16 Nov 2014 01:54:04 +0100 Subject: Moved DB_s into db.c Signed-off-by: Haru --- src/common/db.c | 2 ++ src/common/db.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3-60-g2f50