diff options
Diffstat (limited to 'sys/kern/subr_autoconf.c')
-rw-r--r-- | sys/kern/subr_autoconf.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c index 6fff40bba87..2fb4ecbbbc1 100644 --- a/sys/kern/subr_autoconf.c +++ b/sys/kern/subr_autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_autoconf.c,v 1.29 2001/09/01 05:48:18 jason Exp $ */ +/* $OpenBSD: subr_autoconf.c,v 1.30 2002/03/14 01:27:04 millert Exp $ */ /* $NetBSD: subr_autoconf.c,v 1.21 1996/04/04 06:06:18 cgd Exp $ */ /* @@ -59,7 +59,7 @@ * Autoconfiguration subroutines. */ -typedef int (*cond_predicate_t) __P((struct device *, void *)); +typedef int (*cond_predicate_t)(struct device *, void *); /* * ioconf.c exports exactly two names: cfdata and cfroots. All system @@ -87,18 +87,18 @@ static struct cftable staticcftable = { #endif /* AUTOCONF_VERBOSE */ int autoconf_verbose = AUTOCONF_VERBOSE; /* trace probe calls */ -static char *number __P((char *, int)); -static void mapply __P((struct matchinfo *, struct cfdata *)); +static char *number(char *, int); +static void mapply(struct matchinfo *, struct cfdata *); struct deferred_config { TAILQ_ENTRY(deferred_config) dc_queue; struct device *dc_dev; - void (*dc_func) __P((struct device *)); + void (*dc_func)(struct device *); }; TAILQ_HEAD(, deferred_config) deferred_config_queue; -void config_process_deferred_children __P((struct device *)); +void config_process_deferred_children(struct device *); struct devicelist alldevs; /* list of all devices */ struct evcntlist allevents; /* list of all event counters */ @@ -678,7 +678,7 @@ config_deactivate(dev) void config_defer(dev, func) struct device *dev; - void (*func) __P((struct device *)); + void (*func)(struct device *); { struct deferred_config *dc; @@ -908,7 +908,7 @@ attach_loadable(parentname, parentunit, cftable) } int -devcf_intable __P((struct device *, void *)); +devcf_intable(struct device *, void *); int devcf_intable(dev, arg) |