diff options
| author | dsl <dsl@NetBSD.org> | 2009-03-16 23:11:09 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2009-03-16 23:11:09 +0000 |
| commit | 7cc9af7d6484d647533e2cc7e39ca9756eef8fe5 (patch) | |
| tree | b42b2e3fa1be867ebdac07c8c6139ccedd917bf0 /sys/dev/sbus | |
| parent | fd24f7c9171367d7748eaf9a220cde2ab9311f13 (diff) | |
ANSIfy functions with function-pointer arguments
Diffstat (limited to 'sys/dev/sbus')
| -rw-r--r-- | sys/dev/sbus/stp4020.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/dev/sbus/stp4020.c b/sys/dev/sbus/stp4020.c index b641c0d22b5..db7925047ff 100644 --- a/sys/dev/sbus/stp4020.c +++ b/sys/dev/sbus/stp4020.c @@ -1,4 +1,4 @@ -/* $NetBSD: stp4020.c,v 1.58 2009/03/14 21:04:23 dsl Exp $ */ +/* $NetBSD: stp4020.c,v 1.59 2009/03/16 23:11:16 dsl Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: stp4020.c,v 1.58 2009/03/14 21:04:23 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: stp4020.c,v 1.59 2009/03/16 23:11:16 dsl Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -1035,12 +1035,7 @@ stp4020_chip_socket_disable(pcmcia_chipset_handle_t pch) } void * -stp4020_chip_intr_establish(pch, pf, ipl, handler, arg) - pcmcia_chipset_handle_t pch; - struct pcmcia_function *pf; - int ipl; - int (*handler)(void *); - void *arg; +stp4020_chip_intr_establish(pcmcia_chipset_handle_t pch, struct pcmcia_function *pf, int ipl, int (*handler)(void *), void *arg) { struct stp4020_socket *h = (struct stp4020_socket *)pch; |
