wine_openpty is not properly declared (either missing or mismatched

declarations) in both places where it is used.
This commit is contained in:
Zygo Blaxell 1999-02-09 14:14:16 +00:00 committed by Alexandre Julliard
parent 1084b2cbff
commit edc858c2ca
2 changed files with 6 additions and 1 deletions

View File

@ -22,7 +22,7 @@
#define ESC '\x1b' #define ESC '\x1b'
static BOOL32 wine_create_console(FILE **master, FILE **slave, int *pid); 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); struct termios *term, struct winsize *winsize);
/* The console -- I chose to keep the master and slave /* The console -- I chose to keep the master and slave

View File

@ -59,6 +59,11 @@ const K32OBJ_OPS CONSOLE_Ops =
CONSOLE_Destroy /* destroy */ 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 * CONSOLE_Destroy
*/ */