From 502703d2b632125b35a2b8d341a90a13d7445f02 Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 16 Sep 2015 17:48:09 +0200 Subject: Changed cmdline->args_data to a VECTOR Signed-off-by: Haru --- src/common/core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/core.h') 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); -- cgit v1.2.3-70-g09d2