diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1995-11-22 07:43:53 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1995-11-22 07:43:53 +0000 |
| commit | 1f3dad5a8dc1e0d17f6f7924552eaf718b255e44 (patch) | |
| tree | 283999b082c94c12b3962535722ff43fa3b41aa0 /sys/i386/linux/linux_ioctl.c | |
| parent | 55054f3540ce0039fb89e6876616b869a8f2038c (diff) | |
Notes
Diffstat (limited to 'sys/i386/linux/linux_ioctl.c')
| -rw-r--r-- | sys/i386/linux/linux_ioctl.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/i386/linux/linux_ioctl.c b/sys/i386/linux/linux_ioctl.c index 12adff4a18a85..e018051ada2c8 100644 --- a/sys/i386/linux/linux_ioctl.c +++ b/sys/i386/linux/linux_ioctl.c @@ -25,12 +25,12 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_ioctl.c,v 1.2 1995/06/07 21:27:57 sos Exp $ + * $Id: linux_ioctl.c,v 1.1 1995/06/25 17:32:35 sos Exp $ */ -#include <i386/linux/linux.h> #include <sys/param.h> #include <sys/systm.h> +#include <sys/sysproto.h> #include <sys/proc.h> #include <sys/ioctl.h> #include <sys/ioctl_compat.h> @@ -38,8 +38,11 @@ #include <sys/filedesc.h> #include <sys/tty.h> #include <sys/termios.h> + #include <machine/console.h> +#include <i386/linux/linux.h> +#include <i386/linux/sysproto.h> struct linux_termios { unsigned long c_iflag; @@ -363,7 +366,7 @@ linux_ioctl(struct proc *p, struct linux_ioctl_args *args, int *retval) struct linux_winsize linux_winsize; struct filedesc *fdp = p->p_fd; struct file *fp; - int (*func)(); + int (*func)(struct file *fp, int com, caddr_t data, struct proc *p); int bsd_line, linux_line; int error; |
