summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_pty.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-09-15 19:47:47 +0000
committerbde <bde@FreeBSD.org>1994-09-15 19:47:47 +0000
commit9400f03fed81eb800b0bf44dae4b383dca6c2a95 (patch)
treecb67b8c6bb1d5a2960e21e89b41741310a0b98e2 /sys/kern/tty_pty.c
parent1bfaf25b30ba76f2f7d7cec0cd52127fdf3b4ffb (diff)
downloadFreeBSD-src-9400f03fed81eb800b0bf44dae4b383dca6c2a95.zip
FreeBSD-src-9400f03fed81eb800b0bf44dae4b383dca6c2a95.tar.gz
Supply prototypes for some functions that were implicitly declared and
fix the resulting warnings.
Diffstat (limited to 'sys/kern/tty_pty.c')
-rw-r--r--sys/kern/tty_pty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c
index d6d4870..210aac6 100644
--- a/sys/kern/tty_pty.c
+++ b/sys/kern/tty_pty.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tty_pty.c 8.2 (Berkeley) 9/23/93
- * $Id$
+ * $Id: tty_pty.c,v 1.3 1994/08/02 07:42:51 davidg Exp $
*/
/*
@@ -338,7 +338,8 @@ ptcread(dev, uio, flag)
if (pti->pt_send & TIOCPKT_IOCTL) {
cc = min(uio->uio_resid,
sizeof(tp->t_termios));
- uiomove(&tp->t_termios, cc, uio);
+ uiomove((caddr_t)&tp->t_termios, cc,
+ uio);
}
pti->pt_send = 0;
return (0);
OpenPOWER on IntegriCloud