* mu-cmd-server.c: remove readline support

This commit is contained in:
djcb 2011-12-13 08:03:45 +02:00
parent 8b39c69c89
commit ba5dc29555
1 changed files with 0 additions and 9 deletions

View File

@ -31,11 +31,6 @@
#include <glib/gprintf.h>
#ifdef HAVE_LIBREADLINE
#include <readline/readline.h>
#include <readline/history.h>
#endif /*HAVE_LIBREADLINE*/
/* hopefully, the should get us a sane PATH_MAX */
#include <limits.h>
/* 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 {