File: 0004-implicit-pointer.patch

package info (click to toggle)
lvm2 2.03.02-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 13,316 kB
  • sloc: ansic: 156,233; sh: 24,495; python: 5,215; makefile: 1,958; ruby: 66; awk: 20; cpp: 10
file content (24 lines) | stat: -rw-r--r-- 679 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 15ee68074ba84ca0d433a484d59b7ef9a23115d9 Mon Sep 17 00:00:00 2001
From: Bastian Blank <waldi@debian.org>
Date: Tue, 30 Jun 2015 11:46:09 +0200
Subject: implicit-pointer

---
 tools/lvm.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tools/lvm.c b/tools/lvm.c
index 4bfa6f5c25..65bc88df4b 100644
--- a/tools/lvm.c
+++ b/tools/lvm.c
@@ -26,10 +26,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)
-#    define rl_completion_func_t CPPFunction
-#  endif
 
 static struct cmdline_context *_cmdline;