summaryrefslogtreecommitdiff
path: root/src/common/console.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-03-13 01:58:52 +0100
committerHaru <haru@dotalux.com>2016-07-12 20:58:37 +0200
commit02983c41e397060cc2215db44ec43f9cc38c7ace (patch)
treefa72cbb9ed8f15b51dd9b9c95ede4ca6618700d6 /src/common/console.h
parent909b9d35ff9bdaaac784cf88f669eea0982fdd58 (diff)
downloadhercules-02983c41e397060cc2215db44ec43f9cc38c7ace.tar.gz
hercules-02983c41e397060cc2215db44ec43f9cc38c7ace.tar.bz2
hercules-02983c41e397060cc2215db44ec43f9cc38c7ace.tar.xz
hercules-02983c41e397060cc2215db44ec43f9cc38c7ace.zip
Removed unnecessary typedefs from mutex.h
- ramutex -> struct mutex_data - racond -> struct cond_data Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/console.h')
-rw-r--r--src/common/console.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/common/console.h b/src/common/console.h
index 57c750a7d..f97e36456 100644
--- a/src/common/console.h
+++ b/src/common/console.h
@@ -22,12 +22,13 @@
#include "common/hercules.h"
#include "common/db.h"
-#include "common/mutex.h"
#include "common/spinlock.h"
#include "common/thread.h"
/* Forward Declarations */
struct Sql; // common/sql.h
+struct mutex_data;
+struct cond_data;
/**
* Queue Max
@@ -74,8 +75,8 @@ struct console_input_interface {
SPIN_LOCK ptlock;/* parse thread lock */
rAthread *pthread;/* parse thread */
volatile int32 ptstate;/* parse thread state */
- ramutex *ptmutex;/* parse thread mutex */
- racond *ptcond;/* parse thread cond */
+ struct mutex_data *ptmutex; ///< parse thread mutex.
+ struct cond_data *ptcond; ///< parse thread conditional variable.
/* */
VECTOR_DECL(struct CParseEntry *) command_list;
VECTOR_DECL(struct CParseEntry *) commands;