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:
ben 2006-06-25 20:59:12 +00:00
parent 91ca617cfd
commit be1d649e96
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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);