summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1995-03-06 02:50:49 +0000
committernate <nate@FreeBSD.org>1995-03-06 02:50:49 +0000
commit442234e087b681f0564395122a57c94995ed52ca (patch)
tree94198596d4423ca35080db6c78466adb1eeaa684
parent426c2d117398fe7e9a135fbfb8287d8d67af606e (diff)
downloadFreeBSD-src-442234e087b681f0564395122a57c94995ed52ca.zip
FreeBSD-src-442234e087b681f0564395122a57c94995ed52ca.tar.gz
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 <bde@zeta.org.au>
-rw-r--r--sys/sys/ttydefaults.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/ttydefaults.h b/sys/sys/ttydefaults.h
index b110389..f0c6fc2 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
OpenPOWER on IntegriCloud