mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 22:37:49 +00:00
Merge pull request #7568 from idryzhov/fix-naming
lib: fix local variable shadowing global one
This commit is contained in:
commit
c0b76cfe11
@ -531,8 +531,8 @@ extern int cmd_execute_command(vector, struct vty *,
|
||||
extern int cmd_execute_command_strict(vector, struct vty *,
|
||||
const struct cmd_element **);
|
||||
extern void cmd_init(int terminal);
|
||||
extern void cmd_init_config_callbacks(void (*start_config)(void),
|
||||
void (*end_config)(void));
|
||||
extern void cmd_init_config_callbacks(void (*start_config_cb)(void),
|
||||
void (*end_config_cb)(void));
|
||||
extern void cmd_terminate(void);
|
||||
extern void cmd_exit(struct vty *vty);
|
||||
extern int cmd_list_cmds(struct vty *vty, int do_permute);
|
||||
|
@ -255,11 +255,11 @@ DEFUN_HIDDEN (end_config,
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
void cmd_init_config_callbacks(void (*start_config)(void),
|
||||
void (*end_config)(void))
|
||||
void cmd_init_config_callbacks(void (*start_config_cb)(void),
|
||||
void (*end_config_cb)(void))
|
||||
{
|
||||
callback.start_config = start_config;
|
||||
callback.end_config = end_config;
|
||||
callback.start_config = start_config_cb;
|
||||
callback.end_config = end_config_cb;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user