forked from Imagelibrary/rtems
Remove __P().
This commit is contained in:
@@ -283,10 +283,10 @@ struct ifconf {
|
|||||||
/* XXX - this should go away soon. */
|
/* XXX - this should go away soon. */
|
||||||
#include <net/if_var.h>
|
#include <net/if_var.h>
|
||||||
|
|
||||||
void ifafree __P((struct ifaddr *));
|
void ifafree(struct ifaddr *);
|
||||||
|
|
||||||
int looutput __P((struct ifnet *,
|
int looutput(struct ifnet *,
|
||||||
struct mbuf *, struct sockaddr *, struct rtentry *));
|
struct mbuf *, struct sockaddr *, struct rtentry *);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* !_NET_IF_H_ */
|
#endif /* !_NET_IF_H_ */
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ struct ifpppcstatsreq {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (defined(_KERNEL) || defined(_KERNEL)) && !defined(NeXT)
|
#if (defined(_KERNEL) || defined(_KERNEL)) && !defined(NeXT)
|
||||||
void pppattach __P((void));
|
void pppattach(void);
|
||||||
void pppintr __P((void));
|
void pppintr(void);
|
||||||
#endif
|
#endif
|
||||||
#endif /* _IF_PPP_H_ */
|
#endif /* _IF_PPP_H_ */
|
||||||
|
|||||||
@@ -151,21 +151,21 @@ static int sigprop[NSIG + 1] = {
|
|||||||
/*
|
/*
|
||||||
* Machine-independent functions:
|
* Machine-independent functions:
|
||||||
*/
|
*/
|
||||||
void execsigs __P((struct proc *p));
|
void execsigs(struct proc *p);
|
||||||
void gsignal __P((int pgid, int sig));
|
void gsignal(int pgid, int sig);
|
||||||
int issignal __P((struct proc *p));
|
int issignal(struct proc *p);
|
||||||
void killproc __P((struct proc *p, char *why));
|
void killproc(struct proc *p, char *why);
|
||||||
void pgsignal __P((struct pgrp *pgrp, int sig, int checkctty));
|
void pgsignal(struct pgrp *pgrp, int sig, int checkctty);
|
||||||
void postsig __P((int sig));
|
void postsig(int sig);
|
||||||
void psignal __P((struct proc *p, int sig));
|
void psignal(struct proc *p, int sig);
|
||||||
void setsigvec __P((struct proc *p, int signum, struct sigaction *sa));
|
void setsigvec(struct proc *p, int signum, struct sigaction *sa);
|
||||||
void sigexit __P((struct proc *p, int signum));
|
void sigexit(struct proc *p, int signum);
|
||||||
void siginit __P((struct proc *p));
|
void siginit(struct proc *p);
|
||||||
void trapsignal __P((struct proc *p, int sig, u_long code));
|
void trapsignal(struct proc *p, int sig, u_long code);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Machine-dependent functions:
|
* Machine-dependent functions:
|
||||||
*/
|
*/
|
||||||
void sendsig __P((sig_t action, int sig, int returnmask, u_long code));
|
void sendsig(sig_t action, int sig, int returnmask, u_long code);
|
||||||
#endif /* _KERNEL */
|
#endif /* _KERNEL */
|
||||||
#endif /* !_SYS_SIGNALVAR_H_ */
|
#endif /* !_SYS_SIGNALVAR_H_ */
|
||||||
|
|||||||
@@ -79,60 +79,60 @@ extern int bootverbose; /* nonzero to print verbose messages */
|
|||||||
/*
|
/*
|
||||||
* General function declarations.
|
* General function declarations.
|
||||||
*/
|
*/
|
||||||
void Debugger __P((const char *msg));
|
void Debugger(const char *msg);
|
||||||
int nullop __P((void));
|
int nullop(void);
|
||||||
int eopnotsupp __P((void));
|
int eopnotsupp(void);
|
||||||
int einval __P((void));
|
int einval(void);
|
||||||
int seltrue __P((dev_t dev, int which, struct proc *p));
|
int seltrue(dev_t dev, int which, struct proc *p);
|
||||||
int ureadc __P((int, struct uio *));
|
int ureadc(int, struct uio *);
|
||||||
void *hashinit __P((int count, int type, u_long *hashmask));
|
void *hashinit(int count, int type, u_long *hashmask);
|
||||||
void *phashinit __P((int count, int type, u_long *nentries));
|
void *phashinit(int count, int type, u_long *nentries);
|
||||||
|
|
||||||
void panic __P((const char *, ...)) __dead2;
|
void panic(const char *, ...)) __dead2;
|
||||||
void boot __P((int)) __dead2;
|
void boot(int)) __dead2;
|
||||||
void cpu_boot __P((int));
|
void cpu_boot(int);
|
||||||
void tablefull __P((const char *));
|
void tablefull(const char *);
|
||||||
int addlog __P((const char *, ...));
|
int addlog(const char *, ...);
|
||||||
int kvprintf __P((char const *, void (*)(int, void*), void *, int,
|
int kvprintf(char const *, void (*)(int, void*), void *, int,
|
||||||
_BSD_VA_LIST_));
|
_BSD_VA_LIST_);
|
||||||
void log __P((int, const char *, ...));
|
void log(int, const char *, ...);
|
||||||
int printf __P((const char *, ...));
|
int printf(const char *, ...);
|
||||||
int sprintf __P((char *buf, const char *, ...));
|
int sprintf(char *buf, const char *, ...);
|
||||||
void uprintf __P((const char *, ...));
|
void uprintf(const char *, ...);
|
||||||
void ttyprintf __P((struct tty *, const char *, ...));
|
void ttyprintf(struct tty *, const char *, ...);
|
||||||
|
|
||||||
#define bcopy(f,t,n) memcpy((t),(f),(n))
|
#define bcopy(f,t,n) memcpy((t),(f),(n))
|
||||||
#define bzero(p,n) memset((p),(0),(n))
|
#define bzero(p,n) memset((p),(0),(n))
|
||||||
|
|
||||||
int copystr __P((const void *kfaddr, void *kdaddr, size_t len,
|
int copystr(const void *kfaddr, void *kdaddr, size_t len,
|
||||||
size_t *lencopied));
|
size_t *lencopied);
|
||||||
int copyinstr __P((const void *udaddr, void *kaddr, size_t len,
|
int copyinstr(const void *udaddr, void *kaddr, size_t len,
|
||||||
size_t *lencopied));
|
size_t *lencopied);
|
||||||
int copyin __P((const void *udaddr, void *kaddr, size_t len));
|
int copyin(const void *udaddr, void *kaddr, size_t len);
|
||||||
int copyout __P((const void *kaddr, void *udaddr, size_t len));
|
int copyout(const void *kaddr, void *udaddr, size_t len);
|
||||||
|
|
||||||
int fubyte __P((const void *base));
|
int fubyte(const void *base);
|
||||||
int fuibyte __P((const void *base));
|
int fuibyte(const void *base);
|
||||||
int subyte __P((void *base, int byte));
|
int subyte(void *base, int byte);
|
||||||
int suibyte __P((void *base, int byte));
|
int suibyte(void *base, int byte);
|
||||||
int fuword __P((const void *base));
|
int fuword(const void *base);
|
||||||
int suword __P((void *base, int word));
|
int suword(void *base, int word);
|
||||||
int susword __P((void *base, int word));
|
int susword(void *base, int word);
|
||||||
|
|
||||||
int hzto __P((struct timeval *tv));
|
int hzto(struct timeval *tv);
|
||||||
void realitexpire __P((void *));
|
void realitexpire(void *);
|
||||||
|
|
||||||
struct clockframe;
|
struct clockframe;
|
||||||
void hardclock __P((struct clockframe *frame));
|
void hardclock(struct clockframe *frame);
|
||||||
void softclock __P((void));
|
void softclock(void);
|
||||||
void statclock __P((struct clockframe *frame));
|
void statclock(struct clockframe *frame);
|
||||||
|
|
||||||
void startprofclock __P((struct proc *));
|
void startprofclock(struct proc *);
|
||||||
void stopprofclock __P((struct proc *));
|
void stopprofclock(struct proc *);
|
||||||
void setstatclockrate __P((int hzrate));
|
void setstatclockrate(int hzrate);
|
||||||
|
|
||||||
void hardupdate __P((long));
|
void hardupdate(long);
|
||||||
void hardpps __P((struct timeval *tvp, long usec));
|
void hardpps(struct timeval *tvp, long usec);
|
||||||
|
|
||||||
#include <sys/libkern.h>
|
#include <sys/libkern.h>
|
||||||
|
|
||||||
@@ -144,14 +144,14 @@ extern void vntblinit(void);
|
|||||||
extern void nchinit(void);
|
extern void nchinit(void);
|
||||||
|
|
||||||
/* Finalize the world. */
|
/* Finalize the world. */
|
||||||
void shutdown_nice __P((void));
|
void shutdown_nice(void);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Kernel to clock driver interface.
|
* Kernel to clock driver interface.
|
||||||
*/
|
*/
|
||||||
void inittodr __P((time_t base));
|
void inittodr(time_t base);
|
||||||
void resettodr __P((void));
|
void resettodr(void);
|
||||||
void startrtclock __P((void));
|
void startrtclock(void);
|
||||||
|
|
||||||
/* Timeouts */
|
/* Timeouts */
|
||||||
typedef void (timeout_t)(void *); /* actual timeout function type */
|
typedef void (timeout_t)(void *); /* actual timeout function type */
|
||||||
@@ -159,7 +159,7 @@ typedef timeout_t *timeout_func_t; /* a pointer to this type */
|
|||||||
|
|
||||||
void timeout(timeout_func_t, void *, int);
|
void timeout(timeout_func_t, void *, int);
|
||||||
void untimeout(timeout_func_t, void *);
|
void untimeout(timeout_func_t, void *);
|
||||||
void logwakeup __P((void));
|
void logwakeup(void);
|
||||||
|
|
||||||
/* Various other callout lists that modules might want to know about */
|
/* Various other callout lists that modules might want to know about */
|
||||||
/* shutdown callout list definitions */
|
/* shutdown callout list definitions */
|
||||||
@@ -193,7 +193,7 @@ extern watchdog_tickle_fn wdog_tickler;
|
|||||||
* Common `proc' functions are declared here so that proc.h can be included
|
* Common `proc' functions are declared here so that proc.h can be included
|
||||||
* less often.
|
* less often.
|
||||||
*/
|
*/
|
||||||
int tsleep __P((void *chan, int pri, char *wmesg, int timo));
|
int tsleep(void *chan, int pri, char *wmesg, int timo);
|
||||||
void wakeup __P((void *chan));
|
void wakeup(void *chan);
|
||||||
|
|
||||||
#endif /* !_SYS_SYSTM_H_ */
|
#endif /* !_SYS_SYSTM_H_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user