summaryrefslogtreecommitdiff
path: root/src/common/console.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-03-17 18:44:17 -0300
committershennetsind <ind@henn.et>2013-03-17 18:44:17 -0300
commit81809c70483a1046f64d25ef4ad88c850ff6a0a2 (patch)
tree262b6c18e5b472110cd76ead613df1c24ab5a625 /src/common/console.c
parentabe2a6291750f79355cc07d5af37c8f97aa430b3 (diff)
downloadhercules-81809c70483a1046f64d25ef4ad88c850ff6a0a2.tar.gz
hercules-81809c70483a1046f64d25ef4ad88c850ff6a0a2.tar.bz2
hercules-81809c70483a1046f64d25ef4ad88c850ff6a0a2.tar.xz
hercules-81809c70483a1046f64d25ef4ad88c850ff6a0a2.zip
Fixed mysterious msvc LNK2005 error.
Also fixed title being displayed twice. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/common/console.c')
-rw-r--r--src/common/console.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/common/console.c b/src/common/console.c
index ee4570b2a..08ab6bcd4 100644
--- a/src/common/console.c
+++ b/src/common/console.c
@@ -3,9 +3,9 @@
// Portions Copyright (c) Athena Dev Teams
#include "../common/showmsg.h"
-#include "../common/console.h"
+#include "../common/core.h"
#include "../config/core.h"
-#include "core.h"
+#include "console.h"
#ifndef MINICORE
#include "../common/atomic.h"
@@ -30,6 +30,8 @@
#endif
#endif
+struct console_interface console_s;
+
/*======================================
* CORE : Display title
*--------------------------------------*/
@@ -160,7 +162,6 @@ void console_parse_init(void) {
#endif /* CONSOLE_INPUT */
void console_init (void) {
- console->display_title();
#ifdef CONSOLE_INPUT
console->parse_init();
#endif