mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Remove __P.
This commit is contained in:
parent
5461a012fd
commit
8febc6ba17
5 changed files with 24 additions and 24 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue