# HG changeset patch # User diego # Date 1203610531 0 # Node ID f222f84f20727cb321fd81eaa604f723357bd2d8 # Parent 6e9c78324790026e95c73b82fea01163cdb4fc4c Rename mp_input_win32_slave_cmd_func to mp_input_slave_cmd_func. diff -r 6e9c78324790 -r f222f84f2072 mplayer.c --- a/mplayer.c Thu Feb 21 09:47:03 2008 +0000 +++ b/mplayer.c Thu Feb 21 16:15:31 2008 +0000 @@ -2852,7 +2852,7 @@ #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); diff -r 6e9c78324790 -r f222f84f2072 osdep/getch2-win.c --- a/osdep/getch2-win.c Thu Feb 21 09:47:03 2008 +0000 +++ b/osdep/getch2-win.c Thu Feb 21 16:15:31 2008 +0000 @@ -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){ diff -r 6e9c78324790 -r f222f84f2072 osdep/getch2.h --- a/osdep/getch2.h Thu Feb 21 09:47:03 2008 +0000 +++ b/osdep/getch2.h Thu Feb 21 16:15:31 2008 +0000 @@ -24,6 +24,6 @@ /* 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 */