summaryrefslogtreecommitdiff
path: root/src/common/core.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-09-16 17:48:09 +0200
committerHaru <haru@dotalux.com>2015-10-11 00:24:22 +0200
commit502703d2b632125b35a2b8d341a90a13d7445f02 (patch)
tree365ad28c1875d71074e53d0860bd94c64b46b089 /src/common/core.h
parentaa6b8fd27b3c9b7c75f584434cc994ae9f9b044a (diff)
downloadhercules-502703d2b632125b35a2b8d341a90a13d7445f02.tar.gz
hercules-502703d2b632125b35a2b8d341a90a13d7445f02.tar.bz2
hercules-502703d2b632125b35a2b8d341a90a13d7445f02.tar.xz
hercules-502703d2b632125b35a2b8d341a90a13d7445f02.zip
Changed cmdline->args_data to a VECTOR
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/core.h')
-rw-r--r--src/common/core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/core.h b/src/common/core.h
index c92bf4fa6..f8e748db4 100644
--- a/src/common/core.h
+++ b/src/common/core.h
@@ -6,6 +6,7 @@
#define COMMON_CORE_H
#include "common/hercules.h"
+#include "common/db.h"
/* so that developers with --enable-debug can raise signals from any section of the code they'd like */
#ifdef DEBUG
@@ -46,8 +47,7 @@ struct CmdlineArgData {
};
struct cmdline_interface {
- struct CmdlineArgData *args_data;
- int args_data_count;
+ VECTOR_DECL(struct CmdlineArgData) args_data;
void (*init) (void);
void (*final) (void);