Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/pmax/tc make this compile again with no rcons.



details:   https://anonhg.NetBSD.org/src/rev/3260b95bec83
branches:  trunk
changeset: 472071:3260b95bec83
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Apr 20 06:42:54 1999 +0000

description:
make this compile again with no rcons.

diffstat:

 sys/arch/pmax/tc/scc.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 9fa3b3e18d81 -r 3260b95bec83 sys/arch/pmax/tc/scc.c
--- a/sys/arch/pmax/tc/scc.c    Tue Apr 20 06:16:35 1999 +0000
+++ b/sys/arch/pmax/tc/scc.c    Tue Apr 20 06:42:54 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scc.c,v 1.49 1999/04/12 20:38:19 pk Exp $      */
+/*     $NetBSD: scc.c,v 1.50 1999/04/20 06:42:54 mrg Exp $     */
 
 /*
  * Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: scc.c,v 1.49 1999/04/12 20:38:19 pk Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scc.c,v 1.50 1999/04/20 06:42:54 mrg Exp $");
 
 #include "opt_ddb.h"
 
@@ -1139,7 +1139,9 @@
 {
        register struct tty *tp = sc->scc_tty[chan];
        int cc, rr1 = 0, rr2 = 0;       /* XXX */
+#ifdef HAVE_RCONS
        char *cp;
+#endif
 
        SCC_READ_DATA(regs, chan, cc);
        if (rr2 == SCC_RR2_A_RECV_SPECIAL ||



Home | Main Index | Thread Index | Old Index