aboutsummaryrefslogtreecommitdiffstats
path: root/src/wreadln.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-02 19:00:35 +0200
committerMax Kellermann <max@duempel.org>2008-10-02 19:00:35 +0200
commitb693269fd9740a3074b84da5645f6bd9daa6486e (patch)
tree93c83052ce5dc35155542ebbed4b2286f2c2e69a /src/wreadln.c
parenta3f209be26e588397f7b96de73fb86625c6d2bb8 (diff)
downloadmpd-b693269fd9740a3074b84da5645f6bd9daa6486e.tar.gz
mpd-b693269fd9740a3074b84da5645f6bd9daa6486e.tar.xz
mpd-b693269fd9740a3074b84da5645f6bd9daa6486e.zip
moved code to charset.c
Move everything which deals with UTF-8 strings and character set conversion to charset.c, header charset.h.
Diffstat (limited to '')
-rw-r--r--src/wreadln.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wreadln.c b/src/wreadln.c
index cc703898b..840b73ba0 100644
--- a/src/wreadln.c
+++ b/src/wreadln.c
@@ -18,9 +18,9 @@
*
*/
-#include "config.h"
-
#include "wreadln.h"
+#include "charset.h"
+#include "config.h"
#include <stdlib.h>
#include <string.h>
@@ -59,7 +59,6 @@ wrln_gcmp_post_cb_t wrln_post_completion_callback = NULL;
extern void sigstop(void);
extern void screen_bell(void);
-extern size_t my_strlen(char *str);
#ifndef USE_NCURSESW
/* move the cursor one step to the right */