Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mac68k/dev Compile itecnputc if NZSC == 0.



details:   https://anonhg.NetBSD.org/src/rev/96866af09c1d
branches:  trunk
changeset: 467683:96866af09c1d
user:      briggs <briggs%NetBSD.org@localhost>
date:      Sat Mar 27 05:53:05 1999 +0000

description:
Compile itecnputc if NZSC == 0.

diffstat:

 sys/arch/mac68k/dev/ite.c |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r c1f077020b3d -r 96866af09c1d sys/arch/mac68k/dev/ite.c
--- a/sys/arch/mac68k/dev/ite.c Sat Mar 27 05:48:53 1999 +0000
+++ b/sys/arch/mac68k/dev/ite.c Sat Mar 27 05:53:05 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ite.c,v 1.47 1999/03/12 22:42:30 perry Exp $   */
+/*     $NetBSD: ite.c,v 1.48 1999/03/27 05:53:05 briggs Exp $  */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -55,6 +55,7 @@
  */
 
 #include "opt_grf.h"
+#include "zsc.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1338,14 +1339,18 @@
 int
 itecnputc(dev_t dev, int c)
 {
+#if NZSC > 0
        extern dev_t mac68k_zsdev;
        extern int zscnputc __P((dev_t dev, int c));
+#endif
 
        erasecursor();
        ite_putchar(c);
        drawcursor();
+#if NZSC > 0
        if (mac68k_machine.serial_boot_echo)
                zscnputc(mac68k_zsdev, c);
+#endif
 
        return c;
 }



Home | Main Index | Thread Index | Old Index