summaryrefslogtreecommitdiff
path: root/sys/compat/svr4/svr4_stream.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/svr4/svr4_stream.c
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/compat/svr4/svr4_stream.c')
-rw-r--r--sys/compat/svr4/svr4_stream.c88
1 files changed, 44 insertions, 44 deletions
diff --git a/sys/compat/svr4/svr4_stream.c b/sys/compat/svr4/svr4_stream.c
index 09828a6ffce..48dbf16797c 100644
--- a/sys/compat/svr4/svr4_stream.c
+++ b/sys/compat/svr4/svr4_stream.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svr4_stream.c,v 1.16 2002/02/14 22:57:18 pvalchev Exp $ */
+/* $OpenBSD: svr4_stream.c,v 1.17 2002/03/14 01:26:51 millert Exp $ */
/* $NetBSD: svr4_stream.c,v 1.19 1996/12/22 23:00:03 fvdl Exp $ */
/*
@@ -71,59 +71,59 @@
#include <compat/svr4/svr4_socket.h>
/* Utils */
-static int clean_pipe __P((struct proc *, const char *));
-static void getparm __P((struct file *, struct svr4_si_sockparms *));
+static int clean_pipe(struct proc *, const char *);
+static void getparm(struct file *, struct svr4_si_sockparms *);
/* Address Conversions */
-static void sockaddr_to_netaddr_in __P((struct svr4_strmcmd *,
- const struct sockaddr_in *));
-static void sockaddr_to_netaddr_un __P((struct svr4_strmcmd *,
- const struct sockaddr_un *));
-static void netaddr_to_sockaddr_in __P((struct sockaddr_in *,
- const struct svr4_strmcmd *));
-static void netaddr_to_sockaddr_un __P((struct sockaddr_un *,
- const struct svr4_strmcmd *));
+static void sockaddr_to_netaddr_in(struct svr4_strmcmd *,
+ const struct sockaddr_in *);
+static void sockaddr_to_netaddr_un(struct svr4_strmcmd *,
+ const struct sockaddr_un *);
+static void netaddr_to_sockaddr_in(struct sockaddr_in *,
+ const struct svr4_strmcmd *);
+static void netaddr_to_sockaddr_un(struct sockaddr_un *,
+ const struct svr4_strmcmd *);
/* stream ioctls */
-static int i_nread __P((struct file *, struct proc *, register_t *, int,
- u_long, caddr_t));
-static int i_fdinsert __P((struct file *, struct proc *, register_t *, int,
- u_long, caddr_t));
-static int i_str __P((struct file *, struct proc *, register_t *, int,
- u_long, caddr_t));
-static int _i_bind_rsvd __P((struct file *, struct proc *, register_t *, int,
- u_long, caddr_t));
-static int _i_rele_rsvd __P((struct file *, struct proc *, register_t *, int,
- u_long, caddr_t));
+static int i_nread(struct file *, struct proc *, register_t *, int,
+ u_long, caddr_t);
+static int i_fdinsert(struct file *, struct proc *, register_t *, int,
+ u_long, caddr_t);
+static int i_str(struct file *, struct proc *, register_t *, int,
+ u_long, caddr_t);
+static int _i_bind_rsvd(struct file *, struct proc *, register_t *, int,
+ u_long, caddr_t);
+static int _i_rele_rsvd(struct file *, struct proc *, register_t *, int,
+ u_long, caddr_t);
/* i_str sockmod calls */
-static int sockmod __P((struct file *, int, struct svr4_strioctl *,
- struct proc *));
-static int si_listen __P((struct file *, int, struct svr4_strioctl *,
- struct proc *));
-static int si_ogetudata __P((struct file *, int, struct svr4_strioctl *,
- struct proc *));
-static int si_sockparams __P((struct file *, int, struct svr4_strioctl *,
- struct proc *));
-static int si_shutdown __P((struct file *, int, struct svr4_strioctl *,
- struct proc *));
-static int si_getudata __P((struct file *, int, struct svr4_strioctl *,
- struct proc *));
+static int sockmod(struct file *, int, struct svr4_strioctl *,
+ struct proc *);
+static int si_listen(struct file *, int, struct svr4_strioctl *,
+ struct proc *);
+static int si_ogetudata(struct file *, int, struct svr4_strioctl *,
+ struct proc *);
+static int si_sockparams(struct file *, int, struct svr4_strioctl *,
+ struct proc *);
+static int si_shutdown(struct file *, int, struct svr4_strioctl *,
+ struct proc *);
+static int si_getudata(struct file *, int, struct svr4_strioctl *,
+ struct proc *);
/* i_str timod calls */
-static int timod __P((struct file *, int, struct svr4_strioctl *,
- struct proc *));
-static int ti_getinfo __P((struct file *, int, struct svr4_strioctl *,
- struct proc *));
-static int ti_bind __P((struct file *, int, struct svr4_strioctl *,
- struct proc *));
+static int timod(struct file *, int, struct svr4_strioctl *,
+ struct proc *);
+static int ti_getinfo(struct file *, int, struct svr4_strioctl *,
+ struct proc *);
+static int ti_bind(struct file *, int, struct svr4_strioctl *,
+ struct proc *);
#ifdef DEBUG_SVR4
-static void bufprint __P((u_char *, size_t));
-static int show_ioc __P((const char *, struct svr4_strioctl *));
-static int show_strbuf __P((struct svr4_strbuf *));
-static void show_msg __P((const char *, int, struct svr4_strbuf *,
- struct svr4_strbuf *, int));
+static void bufprint(u_char *, size_t);
+static int show_ioc(const char *, struct svr4_strioctl *);
+static int show_strbuf(struct svr4_strbuf *);
+static void show_msg(const char *, int, struct svr4_strbuf *,
+ struct svr4_strbuf *, int);
static void
bufprint(buf, len)