Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/pmax/tc Pull up revision 1.50 (requested by si...



details:   https://anonhg.NetBSD.org/src/rev/20d05ff0244c
branches:  netbsd-1-4
changeset: 470919:20d05ff0244c
user:      he <he%NetBSD.org@localhost>
date:      Tue Sep 26 11:22:29 2000 +0000

description:
Pull up revision 1.50 (requested by simonb):
  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 333e72e5a027 -r 20d05ff0244c sys/arch/pmax/tc/scc.c
--- a/sys/arch/pmax/tc/scc.c    Mon Sep 25 16:21:42 2000 +0000
+++ b/sys/arch/pmax/tc/scc.c    Tue Sep 26 11:22:29 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scc.c,v 1.47.2.2 1999/04/12 21:27:06 pk Exp $  */
+/*     $NetBSD: scc.c,v 1.47.2.3 2000/09/26 11:22:29 he 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.47.2.2 1999/04/12 21:27:06 pk Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scc.c,v 1.47.2.3 2000/09/26 11:22:29 he 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