diff mp_msg.c @ 30668:46e7233f1faa

Properly declare get_term_charset() instead of forward declaring it.
author diego
date Mon, 22 Feb 2010 15:34:56 +0000
parents c1a3f1bbba26
children 553f53cffabf
line wrap: on
line diff
--- a/mp_msg.c	Mon Feb 22 14:27:32 2010 +0000
+++ b/mp_msg.c	Mon Feb 22 15:34:56 2010 +0000
@@ -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)