diff options
author | vva@genie.(none) <> | 2002-11-19 18:26:53 +0400 |
---|---|---|
committer | vva@genie.(none) <> | 2002-11-19 18:26:53 +0400 |
commit | 5aabbf55a91e0e03842eb90200e80be5170640f7 (patch) | |
tree | 6f25883717e7c6cfc40b292a86148e469567534c /readline/keymaps.c | |
parent | c0764205cfc530c7880a07291ac47a11a4f43de6 (diff) | |
download | mariadb-git-5aabbf55a91e0e03842eb90200e80be5170640f7.tar.gz |
upgrade readline to version 4.3
Diffstat (limited to 'readline/keymaps.c')
-rw-r--r-- | readline/keymaps.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/readline/keymaps.c b/readline/keymaps.c index c73666bf273..12506d3aab2 100644 --- a/readline/keymaps.c +++ b/readline/keymaps.c @@ -7,7 +7,7 @@ Readline is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 1, or (at your option) any + Free Software Foundation; either version 2, or (at your option) any later version. Readline is distributed in the hope that it will be useful, but @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with Readline; see the file COPYING. If not, write to the Free - Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */ #define READLINE_LIBRARY #if defined (HAVE_CONFIG_H) @@ -30,18 +30,18 @@ # include "ansi_stdlib.h" #endif /* HAVE_STDLIB_H */ +#include <stdio.h> /* for FILE * definition for readline.h */ + +#include "readline.h" #include "rlconf.h" -#include "keymaps.h" + #include "emacs_keymap.c" #if defined (VI_MODE) #include "vi_keymap.c" #endif -extern int rl_do_lowercase_version (); -extern int rl_rubout (), rl_insert (); - -extern char *xmalloc (), *xrealloc (); +#include "xmalloc.h" /* **************************************************************** */ /* */ @@ -61,7 +61,7 @@ rl_make_bare_keymap () for (i = 0; i < KEYMAP_SIZE; i++) { keymap[i].type = ISFUNC; - keymap[i].function = (Function *)NULL; + keymap[i].function = (rl_command_func_t *)NULL; } for (i = 'A'; i < ('Z' + 1); i++) |