29 lines
911 B
Diff
29 lines
911 B
Diff
--- augeas-1.5.0/src/augtool.c.orig 2016-05-04 01:02:57.000000000 +0200
|
|
+++ augeas-1.5.0/src/augtool.c 2016-12-07 19:26:25.447710899 +0100
|
|
@@ -197,14 +197,14 @@
|
|
|
|
#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;
|
|
}
|
|
#endif
|
|
|
|
#ifndef HAVE_RL_CRLF
|
|
-static int rl_crlf(void) {
|
|
+int rl_crlf(void) {
|
|
if (rl_outstream != NULL)
|
|
putc('\n', rl_outstream);
|
|
return 0;
|
|
@@ -212,7 +212,7 @@
|
|
#endif
|
|
|
|
#ifndef HAVE_RL_REPLACE_LINE
|
|
-static void rl_replace_line(ATTRIBUTE_UNUSED const char *text,
|
|
+void rl_replace_line(ATTRIBUTE_UNUSED const char *text,
|
|
ATTRIBUTE_UNUSED int clear_undo) {
|
|
return;
|
|
}
|