From 7e58dfddc1c29aecb98f1508cca154b9bebbd748 Mon Sep 17 00:00:00 2001 From: Nate Williams Date: Mon, 6 Mar 1995 02:50:49 +0000 Subject: [PATCH] The new ld has apparently uncovered the bug that sio.c and tty.c both define ttydefchars[] as globals. This was fixed in 1.1.5 by making ttydefchars[] static like it should always have been. Submitted by: Bruce Evans --- sys/sys/ttydefaults.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/ttydefaults.h b/sys/sys/ttydefaults.h index b110389a401..f0c6fc2526d 100644 --- a/sys/sys/ttydefaults.h +++ b/sys/sys/ttydefaults.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)ttydefaults.h 8.4 (Berkeley) 1/21/94 - * $Id: ttydefaults.h,v 1.5 1994/09/22 19:51:43 ache Exp $ + * $Id: ttydefaults.h,v 1.6 1994/10/11 00:16:28 wollman Exp $ */ /* @@ -88,7 +88,7 @@ * #define TTYDEFCHARS to include an array of default control characters. */ #ifdef TTYDEFCHARS -cc_t ttydefchars[NCCS] = { +static cc_t ttydefchars[NCCS] = { CEOF, CEOL, CEOL, CERASE, CWERASE, CKILL, CREPRINT, _POSIX_VDISABLE, CINTR, CQUIT, CSUSP, CDSUSP, CSTART, CSTOP, CLNEXT, CDISCARD, CMIN, CTIME, CSTATUS, _POSIX_VDISABLE