diff options
-rw-r--r-- | sys/libkern/bsearch.c | 2 | ||||
-rw-r--r-- | sys/libkern/mcount.c | 8 | ||||
-rw-r--r-- | sys/libkern/qsort.c | 6 | ||||
-rw-r--r-- | sys/libkern/quad.h | 12 | ||||
-rw-r--r-- | sys/nfs/nfsnode.h | 20 |
5 files changed, 24 insertions, 24 deletions
diff --git a/sys/libkern/bsearch.c b/sys/libkern/bsearch.c index f3f318c..6ebf50d 100644 --- a/sys/libkern/bsearch.c +++ b/sys/libkern/bsearch.c @@ -63,7 +63,7 @@ bsearch(key, base0, nmemb, size, compar) const void *base0; size_t nmemb; register size_t size; - register int (*compar) __P((const void *, const void *)); + register int (*compar)(const void *, const void *); { register const char *base = base0; register size_t lim; diff --git a/sys/libkern/mcount.c b/sys/libkern/mcount.c index 3fa0854..569f80b 100644 --- a/sys/libkern/mcount.c +++ b/sys/libkern/mcount.c @@ -42,10 +42,10 @@ #include <vm/vm.h> #include <vm/vm_param.h> #include <vm/pmap.h> -void bintr __P((void)); -void btrap __P((void)); -void eintr __P((void)); -void user __P((void)); +void bintr(void); +void btrap(void); +void eintr(void); +void user(void); #endif /* diff --git a/sys/libkern/qsort.c b/sys/libkern/qsort.c index 407ad6b..a8f7534 100644 --- a/sys/libkern/qsort.c +++ b/sys/libkern/qsort.c @@ -35,9 +35,9 @@ #include <sys/libkern.h> -typedef int cmp_t __P((const void *, const void *)); -static __inline char *med3 __P((char *, char *, char *, cmp_t *)); -static __inline void swapfunc __P((char *, char *, int, int)); +typedef int cmp_t(const void *, const void *); +static __inline char *med3(char *, char *, char *, cmp_t *); +static __inline void swapfunc(char *, char *, int, int); #define min(a, b) (a) < (b) ? a : b diff --git a/sys/libkern/quad.h b/sys/libkern/quad.h index 82cf052..05ad3fb 100644 --- a/sys/libkern/quad.h +++ b/sys/libkern/quad.h @@ -98,12 +98,12 @@ union uu { #define LHALF(x) ((x) & ((1 << HALF_BITS) - 1)) #define LHUP(x) ((x) << HALF_BITS) -quad_t __divdi3 __P((quad_t a, quad_t b)); -quad_t __moddi3 __P((quad_t a, quad_t b)); -u_quad_t __qdivrem __P((u_quad_t u, u_quad_t v, u_quad_t *rem)); -u_quad_t __udivdi3 __P((u_quad_t a, u_quad_t b)); -u_quad_t __umoddi3 __P((u_quad_t a, u_quad_t b)); -int __ucmpdi2 __P((u_quad_t a, u_quad_t b)); +quad_t __divdi3(quad_t a, quad_t b); +quad_t __moddi3(quad_t a, quad_t b); +u_quad_t __qdivrem(u_quad_t u, u_quad_t v, u_quad_t *rem); +u_quad_t __udivdi3(u_quad_t a, u_quad_t b); +u_quad_t __umoddi3(u_quad_t a, u_quad_t b); +int __ucmpdi2(u_quad_t a, u_quad_t b); /* * XXX diff --git a/sys/nfs/nfsnode.h b/sys/nfs/nfsnode.h index ba99fea..e2a91dd 100644 --- a/sys/nfs/nfsnode.h +++ b/sys/nfs/nfsnode.h @@ -190,18 +190,18 @@ extern vop_t **spec_nfsv2nodeop_p; /* * Prototypes for NFS vnode operations */ -int nfs_getpages __P((struct vop_getpages_args *)); -int nfs_putpages __P((struct vop_putpages_args *)); -int nfs_write __P((struct vop_write_args *)); -int nqnfs_vop_lease_check __P((struct vop_lease_args *)); -int nfs_inactive __P((struct vop_inactive_args *)); -int nfs_reclaim __P((struct vop_reclaim_args *)); +int nfs_getpages(struct vop_getpages_args *); +int nfs_putpages(struct vop_putpages_args *); +int nfs_write(struct vop_write_args *); +int nqnfs_vop_lease_check(struct vop_lease_args *); +int nfs_inactive(struct vop_inactive_args *); +int nfs_reclaim(struct vop_reclaim_args *); /* other stuff */ -int nfs_removeit __P((struct sillyrename *)); -int nfs_nget __P((struct mount *,nfsfh_t *,int,struct nfsnode **)); -nfsuint64 *nfs_getcookie __P((struct nfsnode *, off_t, int)); -void nfs_invaldir __P((struct vnode *)); +int nfs_removeit(struct sillyrename *); +int nfs_nget(struct mount *,nfsfh_t *,int,struct nfsnode **); +nfsuint64 *nfs_getcookie(struct nfsnode *, off_t, int); +void nfs_invaldir(struct vnode *); #define nqnfs_lease_updatetime nfs_lease_updatetime |