summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-10-10 00:32:55 +0000
committeralfred <alfred@FreeBSD.org>2002-10-10 00:32:55 +0000
commit48fe919d3ecd865708d90eafef25d61f416605f5 (patch)
tree6e1ab318782617c5c6f29e02c65199e157b74a21 /share
parentf1296e08750437839d97322ccc1f113048386fe3 (diff)
downloadFreeBSD-src-48fe919d3ecd865708d90eafef25d61f416605f5.zip
FreeBSD-src-48fe919d3ecd865708d90eafef25d61f416605f5.tar.gz
de-__P()
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/accept_filter.99
-rw-r--r--share/man/man9/domain.98
-rw-r--r--share/man/man9/kthread.92
-rw-r--r--share/man/man9/vnode.92
4 files changed, 9 insertions, 12 deletions
diff --git a/share/man/man9/accept_filter.9 b/share/man/man9/accept_filter.9
index 80bd4e3..eb791ae 100644
--- a/share/man/man9/accept_filter.9
+++ b/share/man/man9/accept_filter.9
@@ -64,12 +64,9 @@ must provide a struct accept_filter to the system:
.Bd -literal
struct accept_filter {
char accf_name[16];
- void (*accf_callback)
- __P((struct socket *so, void *arg, int waitflag));
- void * (*accf_create)
- __P((struct socket *so, char *arg));
- void (*accf_destroy)
- __P((struct socket *so));
+ void (*accf_callback)(struct socket *so, void *arg, int waitflag);
+ void * (*accf_create)(struct socket *so, char *arg);
+ void (*accf_destroy)(struct socket *so);
SLIST_ENTRY(accept_filter) accf_next; /* next on the list */
};
.Ed
diff --git a/share/man/man9/domain.9 b/share/man/man9/domain.9
index f3d403f..56164ac 100644
--- a/share/man/man9/domain.9
+++ b/share/man/man9/domain.9
@@ -66,15 +66,15 @@ struct domain {
int dom_family; /* AF_xxx */
char *dom_name;
void (*dom_init) /* initialize domain data structures */
- __P((void));
+ (void);
int (*dom_externalize) /* externalize access rights */
- __P((struct mbuf *, struct mbuf **));
+ (struct mbuf *, struct mbuf **);
void (*dom_dispose) /* dispose of internalized rights */
- __P((struct mbuf *));
+ (struct mbuf *);
struct protosw *dom_protosw, *dom_protoswNPROTOSW;
struct domain *dom_next;
int (*dom_rtattach) /* initialize routing table */
- __P((void **, int));
+ (void **, int);
int dom_rtoffset; /* an arg to rtattach, in bits */
int dom_maxrtkey; /* for routing layer */
};
diff --git a/share/man/man9/kthread.9 b/share/man/man9/kthread.9
index 6091404..150efed 100644
--- a/share/man/man9/kthread.9
+++ b/share/man/man9/kthread.9
@@ -69,7 +69,7 @@ which describes the kernel thread that should be created:
.Bd -literal -offset indent
struct kproc_desc {
char *arg0;
- void (*func) __P((void));
+ void (*func)(void);
struct proc **global_procpp;
};
.Ed
diff --git a/share/man/man9/vnode.9 b/share/man/man9/vnode.9
index 4c17884..84510f2 100644
--- a/share/man/man9/vnode.9
+++ b/share/man/man9/vnode.9
@@ -62,7 +62,7 @@ enum vtagtype {
*/
TAILQ_HEAD(buflists, buf);
-typedef int vop_t __P((void *));
+typedef int vop_t(void *);
struct namecache;
/*
OpenPOWER on IntegriCloud