From b1dd87824f4fa0bca7817a030f71a7aca2dd7c6e Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 15 Sep 2015 15:53:01 +0200 Subject: Changed console->input->cmd_list to a VECTOR and renamed to console->input->command_list Signed-off-by: Haru --- src/common/console.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/console.h') diff --git a/src/common/console.h b/src/common/console.h index ffb4a165b..35a83da52 100644 --- a/src/common/console.h +++ b/src/common/console.h @@ -5,6 +5,7 @@ #define COMMON_CONSOLE_H #include "common/hercules.h" +#include "common/db.h" #include "common/mutex.h" #include "common/spinlock.h" #include "common/sql.h" @@ -51,10 +52,9 @@ struct console_input_interface { ramutex *ptmutex;/* parse thread mutex */ racond *ptcond;/* parse thread cond */ /* */ - struct CParseEntry **cmd_list; + VECTOR_DECL(struct CParseEntry *) command_list; struct CParseEntry **cmds; unsigned int cmd_count; - unsigned int cmd_list_count; /* */ Sql *SQL; /* */ -- cgit v1.2.3-60-g2f50