summaryrefslogtreecommitdiffstats
path: root/main/ruby/readline-6.3.patch
blob: 809580df6e503fe4e790c64f1cda3452380cd4f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./ext/readline/readline.c.orig
+++ ./ext/readline/readline.c
@@ -1883,7 +1883,7 @@
 
     rl_attempted_completion_function = readline_attempted_completion_function;
 #if defined(HAVE_RL_PRE_INPUT_HOOK)
-    rl_pre_input_hook = (Function *)readline_pre_input_hook;
+    rl_pre_input_hook = (rl_hook_func_t *)readline_pre_input_hook;
 #endif
 #ifdef HAVE_RL_CATCH_SIGNALS
     rl_catch_signals = 0;