mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-14 15:40:51 +02:00
second set of ANSI C changes: C89-style function declarations, more inline functions, remove register keyword
This commit is contained in:
+4
-8
@@ -108,8 +108,7 @@ static int unbind_keyseq (char *);
|
||||
#define XXFLAG 0x2000
|
||||
|
||||
int
|
||||
bind_builtin (list)
|
||||
WORD_LIST *list;
|
||||
bind_builtin (WORD_LIST *list)
|
||||
{
|
||||
int return_code;
|
||||
Keymap kmap, saved_keymap;
|
||||
@@ -315,8 +314,7 @@ bind_builtin (list)
|
||||
}
|
||||
|
||||
static int
|
||||
query_bindings (name)
|
||||
char *name;
|
||||
query_bindings (char *name)
|
||||
{
|
||||
rl_command_func_t *function;
|
||||
char **keyseqs;
|
||||
@@ -347,8 +345,7 @@ query_bindings (name)
|
||||
}
|
||||
|
||||
static int
|
||||
unbind_command (name)
|
||||
char *name;
|
||||
unbind_command (char *name)
|
||||
{
|
||||
rl_command_func_t *function;
|
||||
|
||||
@@ -364,8 +361,7 @@ unbind_command (name)
|
||||
}
|
||||
|
||||
static int
|
||||
unbind_keyseq (seq)
|
||||
char *seq;
|
||||
unbind_keyseq (char *seq)
|
||||
{
|
||||
char *kseq;
|
||||
int kslen, type;
|
||||
|
||||
Reference in New Issue
Block a user