summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-06-11 05:13:40 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-06-11 05:13:40 +0000
commitce418c43bc5319139ce8b279257d7d5320db633f (patch)
treeaa0e65db9a1c81f2645f687cc53337bc8dcf96a8 /sys/arch
parent31bc947140c2f147b8aeacf458ee7e945247755c (diff)
cnputc() routines are void, not int.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mac68k/dev/ite.c6
-rw-r--r--sys/arch/mac68k/dev/itevar.h4
-rw-r--r--sys/arch/mvme68k/dev/cl.c7
-rw-r--r--sys/arch/mvme88k/dev/cl.c7
4 files changed, 10 insertions, 14 deletions
diff --git a/sys/arch/mac68k/dev/ite.c b/sys/arch/mac68k/dev/ite.c
index 61501d90856..86d961f5f45 100644
--- a/sys/arch/mac68k/dev/ite.c
+++ b/sys/arch/mac68k/dev/ite.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ite.c,v 1.20 2002/03/14 01:26:35 millert Exp $ */
+/* $OpenBSD: ite.c,v 1.21 2002/06/11 05:13:37 miod Exp $ */
/* $NetBSD: ite.c,v 1.32 1997/02/20 00:23:25 scottr Exp $ */
/*
@@ -1334,7 +1334,7 @@ itecngetc(dev)
return ite_pollforchar();
}
-int
+void
itecnputc(dev, c)
dev_t dev;
int c;
@@ -1347,6 +1347,4 @@ itecnputc(dev, c)
drawcursor();
if (mac68k_machine.serial_boot_echo)
zscnputc(mac68k_zsdev, c);
-
- return c;
}
diff --git a/sys/arch/mac68k/dev/itevar.h b/sys/arch/mac68k/dev/itevar.h
index 0bffb454ab5..36f62bcb2f2 100644
--- a/sys/arch/mac68k/dev/itevar.h
+++ b/sys/arch/mac68k/dev/itevar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: itevar.h,v 1.3 2002/03/14 01:26:35 millert Exp $ */
+/* $OpenBSD: itevar.h,v 1.4 2002/06/11 05:13:37 miod Exp $ */
/* $NetBSD: itevar.h,v 1.1 1996/05/05 06:16:49 briggs Exp $ */
/*
@@ -53,4 +53,4 @@ struct tty *itetty(dev_t dev);
int itecnprobe(struct consdev * cp);
int itecninit(struct consdev * cp);
int itecngetc(dev_t dev);
-int itecnputc(dev_t dev, int c);
+void itecnputc(dev_t dev, int c);
diff --git a/sys/arch/mvme68k/dev/cl.c b/sys/arch/mvme68k/dev/cl.c
index 189ff4e91f4..cb08bdbab7e 100644
--- a/sys/arch/mvme68k/dev/cl.c
+++ b/sys/arch/mvme68k/dev/cl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cl.c,v 1.26 2002/04/27 23:21:05 miod Exp $ */
+/* $OpenBSD: cl.c,v 1.27 2002/06/11 05:13:39 miod Exp $ */
/*
* Copyright (c) 1995 Dale Rahn. All rights reserved.
@@ -165,7 +165,7 @@ struct {
int clcnprobe(struct consdev *cp);
int clcninit(struct consdev *cp);
int clcngetc(dev_t dev);
-int clcnputc(dev_t dev, u_char c);
+void clcnputc(dev_t dev, u_char c);
u_char cl_clkdiv(int speed);
u_char cl_clknum(int speed);
u_char cl_clkrxtimeout(int speed);
@@ -1075,7 +1075,7 @@ clcngetc(dev)
return data;
}
-int
+void
clcnputc(dev, c)
dev_t dev;
u_char c;
@@ -1085,7 +1085,6 @@ clcnputc(dev, c)
clputc(0, 0, '\r');
clputc(0, 0, c);
- return 0;
}
void
diff --git a/sys/arch/mvme88k/dev/cl.c b/sys/arch/mvme88k/dev/cl.c
index 735a8de3f71..38fd995aa74 100644
--- a/sys/arch/mvme88k/dev/cl.c
+++ b/sys/arch/mvme88k/dev/cl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cl.c,v 1.24 2002/04/28 15:17:09 miod Exp $ */
+/* $OpenBSD: cl.c,v 1.25 2002/06/11 05:13:39 miod Exp $ */
/*
* Copyright (c) 1995 Dale Rahn. All rights reserved.
@@ -160,7 +160,7 @@ int clcnprobe(struct consdev *cp);
int clcninit(struct consdev *cp);
int cl_instat(struct clsoftc *sc);
int clcngetc(dev_t dev);
-int clcnputc(dev_t dev, u_char c);
+void clcnputc(dev_t dev, u_char c);
void clcnpollc(dev_t, int);
u_char cl_clkdiv(int speed);
u_char cl_clknum(int speed);
@@ -1059,7 +1059,7 @@ clcngetc(dev)
return data;
}
-int
+void
clcnputc(dev, c)
dev_t dev;
u_char c;
@@ -1069,7 +1069,6 @@ clcnputc(dev, c)
clputc(0, 0, '\r');
clputc(0, 0, c);
- return 0;
}
void