diff options
Diffstat (limited to 'sys/arch/macppc/include/autoconf.h')
-rw-r--r-- | sys/arch/macppc/include/autoconf.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sys/arch/macppc/include/autoconf.h b/sys/arch/macppc/include/autoconf.h index f989d8707c6..137191816bb 100644 --- a/sys/arch/macppc/include/autoconf.h +++ b/sys/arch/macppc/include/autoconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.h,v 1.2 2001/09/15 01:42:55 mickey Exp $ */ +/* $OpenBSD: autoconf.h,v 1.3 2002/03/14 01:26:36 millert Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -53,17 +53,14 @@ extern int system_type; /**/ struct confargs; -typedef int (*intr_handler_t) __P((void *)); +typedef int (*intr_handler_t)(void *); typedef struct bushook { struct device *bh_dv; int bh_type; - void (*bh_intr_establish) - __P((struct confargs *, intr_handler_t, void *)); - void (*bh_intr_disestablish) - __P((struct confargs *)); - int (*bh_matchname) - __P((struct confargs *, char *)); + void (*bh_intr_establish)(struct confargs *, intr_handler_t, void *); + void (*bh_intr_disestablish)(struct confargs *); + int (*bh_matchname)(struct confargs *, char *); } bushook_t; #define BUS_MAIN 1 /* mainbus */ @@ -98,14 +95,14 @@ struct confargs { void set_clockintr __P((void (*)(struct clockframe *))); void set_iointr __P((void (*)(void *, int))); -int badaddr __P((void *, u_int32_t)); +int badaddr(void *, u_int32_t); void calc_delayconst(void); void ofrootfound(void); typedef int mac_intr_handle_t; typedef void *(intr_establish_t) __P((void *, mac_intr_handle_t, int, int, int (*func)(void *), void *, char *)); -typedef void (intr_disestablish_t) __P((void *, void *)); +typedef void (intr_disestablish_t)(void *, void *); intr_establish_t mac_intr_establish; intr_disestablish_t mac_intr_disestablish; |