augeas/augeas-1.2.0-readline.patch

12 lines
484 B
Diff
Raw Permalink Normal View History

--- augeas-1.2.0/src/augtool.c.orig 2014-07-22 15:53:13.272830984 +0200
+++ augeas-1.2.0/src/augtool.c 2014-07-22 15:53:21.541845065 +0200
@@ -190,7 +190,7 @@
#ifndef HAVE_RL_COMPLETION_MATCHES
typedef char *rl_compentry_func_t(const char *, int);
-static char **rl_completion_matches(ATTRIBUTE_UNUSED const char *text,
+char **rl_completion_matches(ATTRIBUTE_UNUSED const char *text,
ATTRIBUTE_UNUSED rl_compentry_func_t *func) {
return NULL;
}