diff options
author | bde <bde@FreeBSD.org> | 1995-11-22 07:43:53 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-11-22 07:43:53 +0000 |
commit | 825daf3e3289f2ab37f6f075a4eb4270b8f846c2 (patch) | |
tree | 283999b082c94c12b3962535722ff43fa3b41aa0 /sys/compat/linux/linux_ioctl.c | |
parent | 7eaa0694de90a85e4ba79d7bbd0b091b68f40446 (diff) | |
download | FreeBSD-src-825daf3e3289f2ab37f6f075a4eb4270b8f846c2.zip FreeBSD-src-825daf3e3289f2ab37f6f075a4eb4270b8f846c2.tar.gz |
Completed function declarations and added prototypes.
Removed some unnecessary #includes.
Fixed warnings about nested externs.
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
-rw-r--r-- | sys/compat/linux/linux_ioctl.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 12adff4..e018051 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/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; |