diff options
author | bde <bde@FreeBSD.org> | 1995-11-16 10:35:29 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-11-16 10:35:29 +0000 |
commit | c571384afa136e171b0e1828c9fe1797a761f83d (patch) | |
tree | 6fef46bdd7aabe241d937d5e719b161dd228c877 /sys/gnu | |
parent | 9e8b85a741895a33f3b71a40b27e12d35edb3151 (diff) | |
download | FreeBSD-src-c571384afa136e171b0e1828c9fe1797a761f83d.zip FreeBSD-src-c571384afa136e171b0e1828c9fe1797a761f83d.tar.gz |
Fixed the type of ity_input(). A trailing arg was missing.
Completed function declarations.
Added prototypes.
Removed some useless includes.
Diffstat (limited to 'sys/gnu')
-rw-r--r-- | sys/gnu/isdn/iitty.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/sys/gnu/isdn/iitty.c b/sys/gnu/isdn/iitty.c index 5a41045..5ad2b08 100644 --- a/sys/gnu/isdn/iitty.c +++ b/sys/gnu/isdn/iitty.c @@ -1,6 +1,6 @@ -static char _ittyid[] = "@(#)$Id: iitty.c,v 1.10 1995/07/31 21:01:03 bde Exp $"; +static char _ittyid[] = "@(#)$Id: iitty.c,v 1.11 1995/07/31 21:28:42 bde Exp $"; /******************************************************************************* - * II - Version 0.1 $Revision: 1.10 $ $State: Exp $ + * II - Version 0.1 $Revision: 1.11 $ $State: Exp $ * * Copyright 1994 Dietmar Friede ******************************************************************************* @@ -10,6 +10,10 @@ static char _ittyid[] = "@(#)$Id: iitty.c,v 1.10 1995/07/31 21:01:03 bde Exp * ******************************************************************************* * $Log: iitty.c,v $ + * Revision 1.11 1995/07/31 21:28:42 bde + * Use tsleep() instead of ttysleep() to wait for carrier since a generation + * change isn't an error. + * * Revision 1.10 1995/07/31 21:01:03 bde * Obtained from: partly from ancient patches of mine via 1.1.5 * @@ -139,12 +143,11 @@ static char _ittyid[] = "@(#)$Id: iitty.c,v 1.10 1995/07/31 21:01:03 bde Exp #include "param.h" #include "systm.h" +#include "conf.h" #include "ioctl.h" #include "select.h" #include "tty.h" #include "proc.h" -#include "user.h" -#include "conf.h" #include "file.h" #include "uio.h" #include "kernel.h" @@ -153,8 +156,8 @@ static char _ittyid[] = "@(#)$Id: iitty.c,v 1.10 1995/07/31 21:01:03 bde Exp #include "gnu/isdn/isdn_ioctl.h" -int ityparam(); -void itystart(); +extern int ityparam __P((struct tty *tp, struct termios *t)); +extern void itystart __P((struct tty *tp)); int nity = NITY; int itydefaultrate = 64000; @@ -275,7 +278,7 @@ itywrite(dev, uio, flag) } int -ity_input(int no, int len, char *buf) +ity_input(int no, int len, char *buf, int dir) { register struct tty *tp = &ity_tty[no]; int i; |