summaryrefslogtreecommitdiff
path: root/net/yafc/patches/patch-src_input.c
blob: abb2cdde21ba48a1b1689f6d2cdfc31e61dc15be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-src_input.c,v 1.1 2014/04/17 20:27:33 joerg Exp $

--- src/input.c.orig	2002-02-15 11:09:09.000000000 +0000
+++ src/input.c
@@ -200,9 +200,9 @@ void input_init(void)
 	rl_outstream = stderr;
     /* Allow conditional parsing of the ~/.inputrc file. */
     rl_readline_name = PACKAGE;
-    rl_completion_entry_function = (rl_compentry_func_t *)no_completion_function;
+    rl_completion_entry_function = no_completion_function;
     /* Tell the completer that we want a crack first. */
-    rl_attempted_completion_function = (CPPFunction *)the_complete_function;
+    rl_attempted_completion_function = the_complete_function;
 
 	rl_completer_word_break_characters = " \t\n\"\';";
 	rl_completer_quote_characters = "'\"\\";
@@ -210,7 +210,7 @@ void input_init(void)
 	/* characters that need to be quoted when appearing in filenames. */
 	rl_filename_quote_characters = " \t\n\\\"'@<>=;|&()#$`?*[]!:";
 	rl_filename_quoting_function = bash_quote_filename;
-	rl_filename_dequoting_function = (rl_dequote_func_t *)bash_dequote_filename;
+	rl_filename_dequoting_function = bash_dequote_filename;
 	rl_char_is_quoted_p = char_is_quoted;
 #endif