summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1996-12-03 05:28:22 +0000
committerkstailey <kstailey@cvs.openbsd.org>1996-12-03 05:28:22 +0000
commite99fa578af7c52013d466b09a20d79fff59d26a5 (patch)
tree1a281ea7a8d0b922a338ee0c450b426d48e5f5b2 /sys
parent3aaae5e5adc39b981fa386a7a4f78490d51889ae (diff)
void cystop() -> int cystop()
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/cy.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/ic/cy.c b/sys/dev/ic/cy.c
index 35d5d700667..aec56a3f49b 100644
--- a/sys/dev/ic/cy.c
+++ b/sys/dev/ic/cy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cy.c,v 1.5 1996/11/28 23:27:48 niklas Exp $ */
+/* $OpenBSD: cy.c,v 1.6 1996/12/03 05:28:21 kstailey Exp $ */
/*
* cy.c
@@ -310,7 +310,7 @@ int cyread __P((dev_t, struct uio *, int));
int cywrite __P((dev_t, struct uio *, int));
struct tty *cytty __P((dev_t));
int cyioctl __P((dev_t, u_long, caddr_t, int, struct proc *));
-void cystop __P((struct tty *, int flag));
+int cystop __P((struct tty *, int flag));
int
cyopen(dev, flag, mode, p)
@@ -696,7 +696,7 @@ out:
/*
* stop output
*/
-void
+int
cystop(tp, flag)
struct tty *tp;
int flag;
@@ -725,6 +725,7 @@ cystop(tp, flag)
SET(cy->cy_flags, CYF_STOP);
}
splx(s);
+ return(0);
}
/*