summaryrefslogtreecommitdiffstats
path: root/mp_msg.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-22 15:34:56 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-22 15:34:56 +0000
commit7262f6c9b4f3cd1bd8b98bcc40b74a05aa989ebc (patch)
tree6dbb212a65f9bc038c1df575922167e2ab0b71be /mp_msg.c
parentcc8a878a9cb9688b2eb53b7ee3c6d82bc1555aaf (diff)
downloadmpv-7262f6c9b4f3cd1bd8b98bcc40b74a05aa989ebc.tar.bz2
mpv-7262f6c9b4f3cd1bd8b98bcc40b74a05aa989ebc.tar.xz
Properly declare get_term_charset() instead of forward declaring it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30710 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp_msg.c')
-rw-r--r--mp_msg.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/mp_msg.c b/mp_msg.c
index 93f793d7c8..a5405c59f4 100644
--- a/mp_msg.c
+++ b/mp_msg.c
@@ -22,18 +22,11 @@
#include <string.h>
#include "config.h"
+#include "osdep/getch2.h"
#ifdef CONFIG_ICONV
#include <iconv.h>
#include <errno.h>
-/**
- * \brief gets the name of the system's terminal character set
- * \return a malloced string indicating the system charset
- *
- * Be warned that this function on many systems is in no way thread-safe
- * since it modifies global data
- */
-char* get_term_charset(void);
#endif
#if defined(FOR_MENCODER)