From ba5dc2955596a235d6fb1841732b22699da5e12d Mon Sep 17 00:00:00 2001 From: djcb Date: Tue, 13 Dec 2011 08:03:45 +0200 Subject: [PATCH] * mu-cmd-server.c: remove readline support --- src/mu-cmd-server.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/mu-cmd-server.c b/src/mu-cmd-server.c index 0107b978..1401d3ea 100644 --- a/src/mu-cmd-server.c +++ b/src/mu-cmd-server.c @@ -31,11 +31,6 @@ #include -#ifdef HAVE_LIBREADLINE -#include -#include -#endif /*HAVE_LIBREADLINE*/ - /* hopefully, the should get us a sane PATH_MAX */ #include /* not all systems provide PATH_MAX in limits.h */ @@ -142,9 +137,6 @@ server_error (GError **err, MuError merr, const char* frm, ...) static gchar* my_readline (const char *prompt) { -#ifdef HAVE_LIBREADLINE - return readline (MU_PROMPT); -#else GString *gstr; int kar; @@ -162,7 +154,6 @@ my_readline (const char *prompt) } while (1); return g_string_free (gstr, FALSE); -#endif /*!HAVE_LIBREADLINE*/ } enum _Cmd {