mirror of https://github.com/mpv-player/mpv
declaring static functions with the same name than libc ones was not the best idea ever
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18821 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
91ca617cfd
commit
be1d649e96
|
@ -95,7 +95,7 @@ static void free_entry(list_entry_t* entry) {
|
|||
free(entry);
|
||||
}
|
||||
|
||||
static void close(menu_t* menu) {
|
||||
static void close_menu(menu_t* menu) {
|
||||
menu_list_uninit(menu,free_entry);
|
||||
}
|
||||
|
||||
|
@ -144,7 +144,7 @@ static int open(menu_t* menu, char* args) {
|
|||
menu->draw = menu_list_draw;
|
||||
menu->read_cmd = read_cmd;
|
||||
menu->read_key = read_key;
|
||||
menu->close = close;
|
||||
menu->close = close_menu;
|
||||
|
||||
if(!args) {
|
||||
mp_msg(MSGT_GLOBAL,MSGL_WARN,MSGTR_LIBMENU_ListMenuNeedsAnArgument);
|
||||
|
|
|
@ -100,7 +100,7 @@ static void read_key(menu_t* menu,int c){
|
|||
menu_list_read_key(menu,c,1);
|
||||
}
|
||||
|
||||
static void close(menu_t* menu) {
|
||||
static void close_menu(menu_t* menu) {
|
||||
menu_list_uninit(menu,NULL);
|
||||
}
|
||||
|
||||
|
@ -112,7 +112,7 @@ static int op(menu_t* menu, char* args) {
|
|||
menu->draw = menu_list_draw;
|
||||
menu->read_cmd = read_cmd;
|
||||
menu->read_key = read_key;
|
||||
menu->close = close;
|
||||
menu->close = close_menu;
|
||||
|
||||
menu_list_init(menu);
|
||||
|
||||
|
|
Loading…
Reference in New Issue