From dc87fbcb0f9a6ce1d722c62dafee540e75ba310e Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 30 Jun 2010 13:18:21 +0200 Subject: s3-lib: Remove redefinition of RL_COMPLETION_CAST. This is already defined in replace/system/readline.h. --- source3/lib/readline.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source3/lib/readline.c') 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 -- cgit