diff options
author | 1997-06-29 23:40:46 +0000 | |
---|---|---|
committer | 1997-06-29 23:40:46 +0000 | |
commit | 84d7b780dc57e6065037c0ac59332f1934181c4c (patch) | |
tree | 301f8b242d8db99828affd94be7fd277b73aacef /lib/libedit/tty.c | |
parent | Use correct spacing on both 32bit and 64bit machines. (diff) | |
download | wireguard-openbsd-84d7b780dc57e6065037c0ac59332f1934181c4c.tar.xz wireguard-openbsd-84d7b780dc57e6065037c0ac59332f1934181c4c.zip |
Updates from NetBSD (christos@netbsd.org)
* Portability fixes:
__const -> const
BADSIG -> SIG_ERR
int flags -> u_int flags
#if __STDC__ -> #ifdef __STDC__
* Don't allow CSWTCH to interfere with CSUSP on __SVR4 systems.
* Return -1 if the terminal set operation resulted in dumb terminal settings.
* Handle properly the case where the last line in the sourced file does
not have a trailing '\n'. From Jeffrey C Honig.
* editrc -> editline in editline(3)
Diffstat (limited to 'lib/libedit/tty.c')
-rw-r--r-- | lib/libedit/tty.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libedit/tty.c b/lib/libedit/tty.c index 69f12aec2ed..6178b5995c6 100644 --- a/lib/libedit/tty.c +++ b/lib/libedit/tty.c @@ -1,5 +1,5 @@ -/* $OpenBSD: tty.c,v 1.3 1997/03/14 05:13:09 millert Exp $ */ -/* $NetBSD: tty.c,v 1.2 1997/01/11 06:48:17 lukem Exp $ */ +/* $OpenBSD: tty.c,v 1.4 1997/06/29 23:40:52 millert Exp $ */ +/* $NetBSD: tty.c,v 1.3 1997/04/11 17:52:49 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)tty.c 8.1 (Berkeley) 6/4/93"; #else -static char rcsid[] = "$OpenBSD: tty.c,v 1.3 1997/03/14 05:13:09 millert Exp $"; +static char rcsid[] = "$OpenBSD: tty.c,v 1.4 1997/06/29 23:40:52 millert Exp $"; #endif #endif /* not lint && not SCCSID */ @@ -54,7 +54,7 @@ static char rcsid[] = "$OpenBSD: tty.c,v 1.3 1997/03/14 05:13:09 millert Exp $"; typedef struct ttymodes_t { char *m_name; - int m_value; + u_int m_value; int m_type; } ttymodes_t; |