Make it compile again; follow fo_ioctl change (hi David!).
This commit is contained in:
parent
761c2112ae
commit
ac2c6fba75
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: svr4_32_termios.c,v 1.3 2003/01/19 16:47:16 thorpej Exp $ */
|
||||
/* $NetBSD: svr4_32_termios.c,v 1.4 2003/03/22 07:54:22 nakayama Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994 The NetBSD Foundation, Inc.
|
||||
|
@ -37,7 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: svr4_32_termios.c,v 1.3 2003/01/19 16:47:16 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: svr4_32_termios.c,v 1.4 2003/03/22 07:54:22 nakayama Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/proc.h>
|
||||
|
@ -516,7 +516,7 @@ svr4_32_term_ioctl(fp, l, retval, fd, cmd, data)
|
|||
struct svr4_32_termios st;
|
||||
struct svr4_termio t;
|
||||
int error, new;
|
||||
int (*ctl) __P((struct file *, u_long, caddr_t, struct proc *)) =
|
||||
int (*ctl)(struct file *, u_long, void *, struct proc *) =
|
||||
fp->f_ops->fo_ioctl;
|
||||
|
||||
*retval = 0;
|
||||
|
|
Loading…
Reference in New Issue