summaryrefslogtreecommitdiff
path: root/sys/compat/sunos/sunos_ioctl.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
commit8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch)
treeac9a52bace179e17769651fb9f805070d78abe5f /sys/compat/sunos/sunos_ioctl.c
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/compat/sunos/sunos_ioctl.c')
-rw-r--r--sys/compat/sunos/sunos_ioctl.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/compat/sunos/sunos_ioctl.c b/sys/compat/sunos/sunos_ioctl.c
index fa93293fb93..3d43e1f5092 100644
--- a/sys/compat/sunos/sunos_ioctl.c
+++ b/sys/compat/sunos/sunos_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sunos_ioctl.c,v 1.12 2002/02/14 22:57:18 pvalchev Exp $ */
+/* $OpenBSD: sunos_ioctl.c,v 1.13 2002/03/14 01:26:50 millert Exp $ */
/* $NetBSD: sunos_ioctl.c,v 1.23 1996/03/14 19:33:46 christos Exp $ */
/*
@@ -95,10 +95,10 @@ static u_long s2btab[] = {
38400,
};
-static void stios2btios __P((struct sunos_termios *, struct termios *));
-static void btios2stios __P((struct termios *, struct sunos_termios *));
-static void stios2stio __P((struct sunos_termios *, struct sunos_termio *));
-static void stio2stios __P((struct sunos_termio *, struct sunos_termios *));
+static void stios2btios(struct sunos_termios *, struct termios *);
+static void btios2stios(struct termios *, struct sunos_termios *);
+static void stios2stio(struct sunos_termios *, struct sunos_termio *);
+static void stio2stios(struct sunos_termio *, struct sunos_termios *);
/*
* These two conversion functions have mostly been done
@@ -401,7 +401,7 @@ sunos_sys_ioctl(p, v, retval)
struct sunos_sys_ioctl_args *uap = v;
struct filedesc *fdp = p->p_fd;
struct file *fp;
- int (*ctl) __P((struct file *, u_long, caddr_t, struct proc *));
+ int (*ctl)(struct file *, u_long, caddr_t, struct proc *);
int error;
if ((fp = fd_getfile(fdp, SCARG(uap, fd))) == NULL)
@@ -876,8 +876,8 @@ struct sunos_flock {
short l_xxx;
};
-static void bsd_to_sunos_flock __P((struct flock *, struct sunos_flock *));
-static void sunos_to_bsd_flock __P((struct sunos_flock *, struct flock *));
+static void bsd_to_sunos_flock(struct flock *, struct sunos_flock *);
+static void sunos_to_bsd_flock(struct sunos_flock *, struct flock *);
#define SUNOS_F_RDLCK 1
#define SUNOS_F_WRLCK 2