mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[bfu] const in add_to_menu
This commit is contained in:
parent
6ee1349dfb
commit
b9701abffb
@ -1386,7 +1386,7 @@ new_menu(menu_item_flags_T flags)
|
||||
}
|
||||
|
||||
void
|
||||
add_to_menu(struct menu_item **mi, char *text, char *rtext,
|
||||
add_to_menu(struct menu_item **mi, const char *text, char *rtext,
|
||||
main_action_T action_id, menu_func_T func, void *data,
|
||||
menu_item_flags_T flags)
|
||||
{
|
||||
|
@ -169,7 +169,7 @@ struct menu {
|
||||
struct menu_item *new_menu(menu_item_flags_T);
|
||||
|
||||
void
|
||||
add_to_menu(struct menu_item **mi, char *text, char *rtext,
|
||||
add_to_menu(struct menu_item **mi, const char *text, char *rtext,
|
||||
main_action_T action_id, menu_func_T func, void *data,
|
||||
menu_item_flags_T flags);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user