summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-06-30 13:18:21 +0200
committerAndreas Schneider <asn@samba.org>2010-07-28 10:39:22 +0200
commitdc87fbcb0f9a6ce1d722c62dafee540e75ba310e (patch)
treefd287e8a4d86bd477a8abd11dae2c13813d62183 /source3
parenta20ee817b269f575e1c38a7d48d7d0a81ef108b4 (diff)
downloadsamba-dc87fbcb0f9a6ce1d722c62dafee540e75ba310e.tar.gz
samba-dc87fbcb0f9a6ce1d722c62dafee540e75ba310e.tar.bz2
samba-dc87fbcb0f9a6ce1d722c62dafee540e75ba310e.zip
s3-lib: Remove redefinition of RL_COMPLETION_CAST.
This is already defined in replace/system/readline.h.
Diffstat (limited to 'source3')
-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