[lvm-devel] [PATCH 04/11] debian: fix implicit pointer

Fabio M. Di Nitto fabbione at fabbione.net
Thu Oct 8 12:49:11 UTC 2009


From: Fabio M. Di Nitto <fdinitto at redhat.com>

not sure why the ifdef does not fire, but this is a readline function
and must not be redefined

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
:100644 100644 e1f7900... 257cc40... M	tools/lvm.c
 tools/lvm.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/tools/lvm.c b/tools/lvm.c
index e1f7900..257cc40 100644
--- a/tools/lvm.c
+++ b/tools/lvm.c
@@ -25,9 +25,6 @@ int main(int argc, char **argv)
 
 #  include <readline/readline.h>
 #  include <readline/history.h>
-#  ifndef HAVE_RL_COMPLETION_MATCHES
-#    define rl_completion_matches(a, b) completion_matches((char *)a, b)
-#  endif
 
 static struct cmdline_context *_cmdline;
 
-- 
1.5.4.3




More information about the lvm-devel mailing list