summaryrefslogtreecommitdiff
path: root/sys/netnatm
diff options
context:
space:
mode:
authordsl <dsl@NetBSD.org>2009-03-14 14:45:51 +0000
committerdsl <dsl@NetBSD.org>2009-03-14 14:45:51 +0000
commit02cdf4d2c869ecfa1ae5484cf77eefe2fbcc6d94 (patch)
tree9a02e625d403e5fcedfdc6be4803e2404356bf31 /sys/netnatm
parentdfbb3f921a23a1aba4463f31ef9233ac94ce606c (diff)
Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball. i386 and amd64 GENERIC and sys still build.
Diffstat (limited to 'sys/netnatm')
-rw-r--r--sys/netnatm/natm.h22
-rw-r--r--sys/netnatm/natm_pcb.c6
2 files changed, 14 insertions, 14 deletions
diff --git a/sys/netnatm/natm.h b/sys/netnatm/natm.h
index 911bf740c2c..3921e36abe6 100644
--- a/sys/netnatm/natm.h
+++ b/sys/netnatm/natm.h
@@ -1,4 +1,4 @@
-/* $NetBSD: natm.h,v 1.9 2005/12/11 12:25:16 christos Exp $ */
+/* $NetBSD: natm.h,v 1.10 2009/03/14 14:46:11 dsl Exp $ */
/*
*
@@ -136,21 +136,21 @@ struct atm_rawioctl {
/* external functions */
/* natm_pcb.c */
-struct natmpcb *npcb_alloc __P((int));
-void npcb_free __P((struct natmpcb *, int));
-struct natmpcb *npcb_add __P((struct natmpcb *, struct ifnet *, int, int));
+struct natmpcb *npcb_alloc(int);
+void npcb_free(struct natmpcb *, int);
+struct natmpcb *npcb_add(struct natmpcb *, struct ifnet *, int, int);
/* natm.c */
#if defined(__NetBSD__) || defined(__OpenBSD__)
-int natm_usrreq __P((struct socket *, int, struct mbuf *,
- struct mbuf *, struct mbuf *, struct lwp *));
+int natm_usrreq(struct socket *, int, struct mbuf *,
+ struct mbuf *, struct mbuf *, struct lwp *);
#elif defined(__FreeBSD__)
-int natm_usrreq __P((struct socket *, int, struct mbuf *,
- struct mbuf *, struct mbuf *));
+int natm_usrreq(struct socket *, int, struct mbuf *,
+ struct mbuf *, struct mbuf *);
#endif
-int natm0_sysctl __P((int *, u_int, void *, size_t *, void *, size_t));
-int natm5_sysctl __P((int *, u_int, void *, size_t *, void *, size_t));
-void natmintr __P((void));
+int natm0_sysctl(int *, u_int, void *, size_t *, void *, size_t);
+int natm5_sysctl(int *, u_int, void *, size_t *, void *, size_t);
+void natmintr(void);
#endif
diff --git a/sys/netnatm/natm_pcb.c b/sys/netnatm/natm_pcb.c
index b87c6c68efc..9e47114c4b5 100644
--- a/sys/netnatm/natm_pcb.c
+++ b/sys/netnatm/natm_pcb.c
@@ -1,4 +1,4 @@
-/* $NetBSD: natm_pcb.c,v 1.10 2008/12/17 20:51:38 cegger Exp $ */
+/* $NetBSD: natm_pcb.c,v 1.11 2009/03/14 14:46:11 dsl Exp $ */
/*
*
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: natm_pcb.c,v 1.10 2008/12/17 20:51:38 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: natm_pcb.c,v 1.11 2009/03/14 14:46:11 dsl Exp $");
#include "opt_ddb.h"
@@ -177,7 +177,7 @@ done:
#ifdef DDB
-int npcb_dump __P((void));
+int npcb_dump(void);
int npcb_dump()