summaryrefslogtreecommitdiff
path: root/ext/readline/readline.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/readline/readline.c')
-rw-r--r--ext/readline/readline.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 2e9a177c3b..53d37a06aa 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -8,7 +8,6 @@
#include "ruby/config.h"
#include <errno.h>
#include <stdio.h>
-#include <ctype.h>
#include <string.h>
#ifdef HAVE_READLINE_READLINE_H
#include <readline/readline.h>
@@ -30,8 +29,6 @@
static VALUE mReadline;
-#define TOLOWER(c) (isupper(c) ? tolower(c) : c)
-
#define COMPLETION_PROC "completion_proc"
#define COMPLETION_CASE_FOLD "completion_case_fold"
static ID completion_proc, completion_case_fold;