diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 13:57:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 13:57:48 +0000 |
commit | c4387b4bfda4a8a4d6c2042c6936055ac302dba8 (patch) | |
tree | e9d0509555eed8d205f8360a5bb7096936d77042 /usr.bin/tn3270/sys_curses/termout.c | |
parent | 7bca1d657de5f4d36fa3ee41fc215e702c110d8e (diff) |
from netbsd:
delete bogus declaration of abort() and include stdlib.h, so that this
compiles w/o warning.
Diffstat (limited to 'usr.bin/tn3270/sys_curses/termout.c')
-rw-r--r-- | usr.bin/tn3270/sys_curses/termout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tn3270/sys_curses/termout.c b/usr.bin/tn3270/sys_curses/termout.c index 0f69c8d3caf..cecebf8c449 100644 --- a/usr.bin/tn3270/sys_curses/termout.c +++ b/usr.bin/tn3270/sys_curses/termout.c @@ -33,7 +33,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)termout.c 4.3 (Berkeley) 4/26/91";*/ -static char rcsid[] = "$Id: termout.c,v 1.2 1995/11/13 04:59:23 deraadt Exp $"; +static char rcsid[] = "$Id: termout.c,v 1.3 1995/12/14 13:57:47 deraadt Exp $"; #endif /* not lint */ #if defined(unix) @@ -41,6 +41,7 @@ static char rcsid[] = "$Id: termout.c,v 1.2 1995/11/13 04:59:23 deraadt Exp $"; #include <termios.h> #endif #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <curses.h> #if defined(ultrix) @@ -642,7 +643,6 @@ InitTerminal() #if defined(unix) char KSEbuffer[2050]; char *lotsofspace = KSEbuffer; - extern void abort(); extern char *tgetstr(); #endif /* defined(unix) */ @@ -655,7 +655,7 @@ InitTerminal() ClearArray(Terminal); terminalCursorAddress = SetBufferAddress(0,0); #if defined(unix) - signal(SIGHUP, abort); + signal(SIGHUP, (void (*))abort); #endif TryToSend = FastScreen; |