summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
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/mvme68k
parent31bc947140c2f147b8aeacf458ee7e945247755c (diff)
cnputc() routines are void, not int.
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r--sys/arch/mvme68k/dev/cl.c7
1 files changed, 3 insertions, 4 deletions
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