summaryrefslogtreecommitdiffstats
path: root/lib/libedit/tty.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-06-29 23:40:46 +0000
committermillert <millert@openbsd.org>1997-06-29 23:40:46 +0000
commit84d7b780dc57e6065037c0ac59332f1934181c4c (patch)
tree301f8b242d8db99828affd94be7fd277b73aacef /lib/libedit/tty.c
parentUse correct spacing on both 32bit and 64bit machines. (diff)
downloadwireguard-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.c8
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;