summaryrefslogtreecommitdiff
path: root/readline/keymaps.c
diff options
context:
space:
mode:
Diffstat (limited to 'readline/keymaps.c')
-rw-r--r--readline/keymaps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/readline/keymaps.c b/readline/keymaps.c
index 8fb7de3bc1f..12506d3aab2 100644
--- a/readline/keymaps.c
+++ b/readline/keymaps.c
@@ -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++)