summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-11-16 01:54:04 +0100
committerHaru <haru@dotalux.com>2014-11-16 07:16:22 +0100
commit0689839791af36fc9207a6b6ddcc03f9dfc04692 (patch)
tree56033076be73ce3caf19a43727a6616383cec636
parent144e519b095590439968b70141229638c75f207f (diff)
downloadhercules-0689839791af36fc9207a6b6ddcc03f9dfc04692.tar.gz
hercules-0689839791af36fc9207a6b6ddcc03f9dfc04692.tar.bz2
hercules-0689839791af36fc9207a6b6ddcc03f9dfc04692.tar.xz
hercules-0689839791af36fc9207a6b6ddcc03f9dfc04692.zip
Moved DB_s into db.c
Signed-off-by: Haru <haru@dotalux.com>
-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;