summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
Diffstat (limited to 'osdep')
-rw-r--r--osdep/getch2-win.c2
-rw-r--r--osdep/getch2.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/osdep/getch2-win.c b/osdep/getch2-win.c
index 260c7c3f76..03c3d42cbf 100644
--- a/osdep/getch2-win.c
+++ b/osdep/getch2-win.c
@@ -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 --git a/osdep/getch2.h b/osdep/getch2.h
index 267e39e914..3c015ba9bb 100644
--- a/osdep/getch2.h
+++ b/osdep/getch2.h
@@ -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 */