summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/readline.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/lib/readline.c b/source3/lib/readline.c
index 34867aad9e..4b82291eca 100644
--- a/source3/lib/readline.c
+++ b/source3/lib/readline.c
@@ -38,13 +38,6 @@
# endif
#endif
-#ifdef HAVE_NEW_LIBREADLINE
-# define RL_COMPLETION_CAST (rl_completion_func_t *)
-#else
-/* This type is missing from libreadline<4.0 (approximately) */
-# define RL_COMPLETION_CAST
-#endif /* HAVE_NEW_LIBREADLINE */
-
static bool smb_rl_done;
#if HAVE_LIBREADLINE