diff options
author | Haru <haru@dotalux.com> | 2016-03-13 01:58:52 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-07-12 20:58:37 +0200 |
commit | 02983c41e397060cc2215db44ec43f9cc38c7ace (patch) | |
tree | fa72cbb9ed8f15b51dd9b9c95ede4ca6618700d6 /src/common/console.h | |
parent | 909b9d35ff9bdaaac784cf88f669eea0982fdd58 (diff) | |
download | hercules-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.h | 7 |
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; |