Commit edc858c2 authored by Zygo Blaxell's avatar Zygo Blaxell Committed by Alexandre Julliard

wine_openpty is not properly declared (either missing or mismatched

declarations) in both places where it is used.
parent 1084b2cb
...@@ -22,7 +22,7 @@ ...@@ -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
......
...@@ -59,6 +59,11 @@ const K32OBJ_OPS CONSOLE_Ops = ...@@ -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
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment