aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-06 14:36:29 +0200
committerMax Kellermann <max@duempel.org>2008-10-06 14:36:29 +0200
commit109a63c4d0375f12456d32e5bd58bc92748adad0 (patch)
tree5bd23f794b33aa475ca60b6b0426facafd550300 /src/screen.c
parent4966421e402395e12bf22f75d438504937432e3e (diff)
downloadmpd-109a63c4d0375f12456d32e5bd58bc92748adad0.tar.gz
mpd-109a63c4d0375f12456d32e5bd58bc92748adad0.tar.xz
mpd-109a63c4d0375f12456d32e5bd58bc92748adad0.zip
wreadln: convert public globals to local constants
Convert wrln_max_line_size and wrln_max_history_length to local constants. They have no real use outside of wreadln.c.
Diffstat (limited to '')
-rw-r--r--src/screen.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/screen.c b/src/screen.c
index aed9d9af9..648d07a86 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -28,7 +28,6 @@
#include "options.h"
#include "colors.h"
#include "strfsong.h"
-#include "wreadln.h"
#include <stdlib.h>
#include <unistd.h>
@@ -522,9 +521,6 @@ screen_init(mpdclient_t *c)
if (mode_fn->open != NULL)
mode_fn->open(c);
-
- /* initialize wreadln */
- wrln_max_history_length = 16;
}
void