diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
commit | 8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch) | |
tree | ac9a52bace179e17769651fb9f805070d78abe5f /sys/arch/alpha/include/intr.h | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/arch/alpha/include/intr.h')
-rw-r--r-- | sys/arch/alpha/include/intr.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/sys/arch/alpha/include/intr.h b/sys/arch/alpha/include/intr.h index 9c8f150b151..2bc797a9b03 100644 --- a/sys/arch/alpha/include/intr.h +++ b/sys/arch/alpha/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.12 2001/09/30 13:08:45 art Exp $ */ +/* $OpenBSD: intr.h,v 1.13 2002/03/14 01:26:27 millert Exp $ */ /* $NetBSD: intr.h,v 1.26 2000/06/03 20:47:41 thorpej Exp $ */ /*- @@ -113,7 +113,7 @@ #define spllowersoftclock() alpha_pal_swpipl(ALPHA_PSL_IPL_SOFT) /* IPL-raising functions/macros */ -static __inline int _splraise __P((int)); +static __inline int _splraise(int); static __inline int _splraise(s) int s; @@ -149,11 +149,11 @@ _splraise(s) #define ALPHA_NIPIS 6 /* must not exceed 64 */ -typedef void (*ipifunc_t) __P((void)); +typedef void (*ipifunc_t)(void); extern ipifunc_t ipifuncs[ALPHA_NIPIS]; -void alpha_send_ipi __P((unsigned long, unsigned long)); -void alpha_broadcast_ipi __P((unsigned long)); +void alpha_send_ipi(unsigned long, unsigned long); +void alpha_broadcast_ipi(unsigned long); /* * Alpha shared-interrupt-line common code. @@ -163,7 +163,7 @@ struct alpha_shared_intrhand { TAILQ_ENTRY(alpha_shared_intrhand) ih_q; struct alpha_shared_intr *ih_intrhead; - int (*ih_fn) __P((void *)); + int (*ih_fn)(void *); void *ih_arg; int ih_level; unsigned int ih_num; @@ -195,7 +195,7 @@ struct alpha_soft_intrhand { LIST_ENTRY(alpha_soft_intrhand) sih_q; struct alpha_soft_intr *sih_intrhead; - void (*sih_fn) __P((void *)); + void (*sih_fn)(void *); void *sih_arg; int sih_pending; }; @@ -208,9 +208,9 @@ struct alpha_soft_intr { }; void *softintr_establish __P((int, void (*)(void *), void *)); -void softintr_disestablish __P((void *)); -void softintr_init __P((void)); -void softintr_dispatch __P((void)); +void softintr_disestablish(void *); +void softintr_init(void); +void softintr_dispatch(void); #define softintr_schedule(arg) \ do { \ @@ -226,27 +226,27 @@ extern struct alpha_soft_intrhand *softclock_intrhand; #define setsoftnet() softintr_schedule(softnet_intrhand) #define setsoftclock() softintr_schedule(softclock_intrhand) -struct alpha_shared_intr *alpha_shared_intr_alloc __P((unsigned int)); -int alpha_shared_intr_dispatch __P((struct alpha_shared_intr *, - unsigned int)); +struct alpha_shared_intr *alpha_shared_intr_alloc(unsigned int); +int alpha_shared_intr_dispatch(struct alpha_shared_intr *, + unsigned int); void *alpha_shared_intr_establish __P((struct alpha_shared_intr *, unsigned int, int, int, int (*)(void *), void *, const char *)); -void alpha_shared_intr_disestablish __P((struct alpha_shared_intr *, - void *, const char *)); -int alpha_shared_intr_get_sharetype __P((struct alpha_shared_intr *, - unsigned int)); -int alpha_shared_intr_isactive __P((struct alpha_shared_intr *, - unsigned int)); -void alpha_shared_intr_set_dfltsharetype __P((struct alpha_shared_intr *, - unsigned int, int)); -void alpha_shared_intr_set_maxstrays __P((struct alpha_shared_intr *, - unsigned int, int)); -void alpha_shared_intr_stray __P((struct alpha_shared_intr *, unsigned int, - const char *)); -void alpha_shared_intr_set_private __P((struct alpha_shared_intr *, - unsigned int, void *)); -void *alpha_shared_intr_get_private __P((struct alpha_shared_intr *, - unsigned int)); +void alpha_shared_intr_disestablish(struct alpha_shared_intr *, + void *, const char *); +int alpha_shared_intr_get_sharetype(struct alpha_shared_intr *, + unsigned int); +int alpha_shared_intr_isactive(struct alpha_shared_intr *, + unsigned int); +void alpha_shared_intr_set_dfltsharetype(struct alpha_shared_intr *, + unsigned int, int); +void alpha_shared_intr_set_maxstrays(struct alpha_shared_intr *, + unsigned int, int); +void alpha_shared_intr_stray(struct alpha_shared_intr *, unsigned int, + const char *); +void alpha_shared_intr_set_private(struct alpha_shared_intr *, + unsigned int, void *); +void *alpha_shared_intr_get_private(struct alpha_shared_intr *, + unsigned int); void set_iointr(void (*)(void *, unsigned long)); |