Rename mp_input_win32_slave_cmd_func to mp_input_slave_cmd_func.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26047 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-02-21 16:15:31 +00:00
parent 0a168fb8e0
commit 895fc25553
3 changed files with 3 additions and 3 deletions

View File

@ -2852,7 +2852,7 @@ if(slave_mode)
#ifndef __MINGW32__
mp_input_add_cmd_fd(0,1,NULL,NULL);
#else
mp_input_add_cmd_fd(0,0,mp_input_win32_slave_cmd_func,NULL);
mp_input_add_cmd_fd(0,0,mp_input_slave_cmd_func,NULL);
#endif
else if(!noconsolecontrols)
mp_input_add_event_fd(0, getch2);

View File

@ -13,7 +13,7 @@
// HACK, stdin is used as something else below
#undef stdin
int mp_input_win32_slave_cmd_func(int fd,char* dest,int size){
int mp_input_slave_cmd_func(int fd,char* dest,int size){
DWORD retval;
HANDLE stdin = GetStdHandle(STD_INPUT_HANDLE);
if(!PeekNamedPipe(stdin, NULL, size, &retval, NULL, NULL) || !retval){

View File

@ -24,6 +24,6 @@ extern void getch2_disable(void);
/* Read a character or a special key code (see keycodes.h) */
extern void getch2(void);
extern int mp_input_win32_slave_cmd_func(int fd,char* dest,int size);
extern int mp_input_slave_cmd_func(int fd,char* dest,int size);
#endif /* GETCH2_H */