diff --git a/console/xterm.c b/console/xterm.c index b3c2afd3c17..5a007c5a13e 100644 --- a/console/xterm.c +++ b/console/xterm.c @@ -22,7 +22,7 @@ #define ESC '\x1b' static BOOL32 wine_create_console(FILE **master, FILE **slave, int *pid); -static FILE *wine_openpty(FILE **master, FILE **slave, char *name, +FILE *wine_openpty(int *master, int *slave, char *name, struct termios *term, struct winsize *winsize); /* The console -- I chose to keep the master and slave diff --git a/win32/console.c b/win32/console.c index d61300419f4..68931b3c3f1 100644 --- a/win32/console.c +++ b/win32/console.c @@ -59,6 +59,11 @@ const K32OBJ_OPS CONSOLE_Ops = CONSOLE_Destroy /* destroy */ }; +/* FIXME: Should be in an internal header file. OK, so which one? + Used by CONSOLE_makecomplex. */ +FILE *wine_openpty(int *master, int *slave, char *name, + struct termios *term, struct winsize *winsize); + /*********************************************************************** * CONSOLE_Destroy */