Eliminate __P().

This commit is contained in:
Ralf Corsepius committed 2007-03-28 02:42:47 +00:00
1 parent bd6dfc9a19
commit dcefab604e
3 files changed
+18 -18

No files matched your search

+5 -5
View File
@@ -58,16 +58,16 @@
#if !defined(__rtems__)
static int x_save_spl; /* used by kludge*/
static void kludge_splimp __P((void *));
static void kludge_splx __P((void *));
void domaininit __P((void *));
static void kludge_splimp(void *);
static void kludge_splx(void *);
void domaininit(void *);
SYSINIT(splimp, SI_SUB_PROTO_BEGIN, SI_ORDER_FIRST, kludge_splimp, &x_save_spl)
SYSINIT(domain, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST, domaininit, NULL)
SYSINIT(splx, SI_SUB_PROTO_END, SI_ORDER_FIRST, kludge_splx, &x_save_spl)
#endif
static void pffasttimo __P((void *));
static void pfslowtimo __P((void *));
static void pffasttimo(void *);
static void pfslowtimo(void *);
struct domain *domains;
+12 -12
View File
@@ -110,23 +110,23 @@ extern struct nfsv3_diskless nfsv3_diskless;
/* mountd RPC */
#if !defined(__rtems__)
static int md_mount __P((struct sockaddr_in *mdsin, char *path,
u_char *fhp, int *fhsizep, struct nfs_args *args,struct proc *procp));
static int md_lookup_swap __P((struct sockaddr_in *mdsin,char *path,
static int md_mount(struct sockaddr_in *mdsin, char *path,
u_char *fhp, int *fhsizep, struct nfs_args *args,struct proc *procp);
static int md_lookup_swap(struct sockaddr_in *mdsin,char *path,
u_char *fhp, int *fhsizep,
struct nfs_args *args,
struct proc *procp));
static int setfs __P((struct sockaddr_in *addr, char *path, char *p));
static int getdec __P((char **ptr));
struct proc *procp);
static int setfs(struct sockaddr_in *addr, char *path, char *p);
static int getdec(char **ptr);
#endif
#if !defined(__rtems__)
static char *substr __P((char *a,char *b));
static void mountopts __P((struct nfs_args *args, char *p));
static int xdr_opaque_decode __P((struct mbuf **ptr,u_char *buf,
int len));
static int xdr_int_decode __P((struct mbuf **ptr,int *iptr));
static char *substr(char *a,char *b);
static void mountopts(struct nfs_args *args, char *p);
static int xdr_opaque_decode(struct mbuf **ptr,u_char *buf,
int len);
static int xdr_int_decode(struct mbuf **ptr,int *iptr);
#endif
static void printip __P((char *prefix,struct in_addr addr));
static void printip(char *prefix,struct in_addr addr);
#ifdef BOOTP_DEBUG
void bootpboot_p_sa(struct sockaddr *sa,struct sockaddr *ma);
@@ -79,7 +79,7 @@ typedef u_int64_t u_quad_t; /* quads */
typedef int64_t quad_t;
typedef quad_t * qaddr_t;
typedef void __sighandler_t __P((int));
typedef void __sighandler_t(int);
typedef __sighandler_t *sig_t; /* type of pointer to a signal function */
#define NSIG 32
struct sigaltstack {