diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-07 04:46:46 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-07 04:46:46 +0000 |
commit | 48240306b11fbbbe8aaa34b0ca977eb649dff8c2 (patch) | |
tree | eb867f6b03eacfc06ce81d721b6ae63ae073dba2 | |
parent | ac6f08df231d6f4972de75461a2a835c54fe1270 (diff) | |
download | ruby-48240306b11fbbbe8aaa34b0ca977eb649dff8c2.tar.gz |
Fix up r57788, Function is removed at readline-6.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/readline/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c index e5a00a6e5d..253798f9e6 100644 --- a/ext/readline/readline.c +++ b/ext/readline/readline.c @@ -2077,7 +2077,7 @@ Init_readline(void) 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 #if defined HAVE_RL_CHAR_IS_QUOTED_P rl_char_is_quoted_p = &readline_char_is_quoted; |