From edc858c2ca4f27acf49e1cf9ba1036bbae3985f8 Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Tue, 9 Feb 1999 14:14:16 +0000 Subject: [PATCH] wine_openpty is not properly declared (either missing or mismatched declarations) in both places where it is used. --- console/xterm.c | 2 +- win32/console.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 */