diff options
author | imp <imp@FreeBSD.org> | 1999-03-12 18:45:47 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-03-12 18:45:47 +0000 |
commit | 5fa6e11c9ccb152bc1ac89cb2e9324424d5e1992 (patch) | |
tree | af82fd70775f44fcf2e51a1930e207898b3fd481 /sys | |
parent | a83e4078893f3a284de67a4f2375e037a5684e04 (diff) | |
download | FreeBSD-src-5fa6e11c9ccb152bc1ac89cb2e9324424d5e1992.zip FreeBSD-src-5fa6e11c9ccb152bc1ac89cb2e9324424d5e1992.tar.gz |
Remove static delcarations from {,un}register_pcic_intr declarations
in the not APIC_IO case. This should silence the warnings when
building pcic.c as well as the undefined functions when the kernel
links.
Noticed by: several people in -current and me building the kernel
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pccard/pcic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index c087239..542b8ae 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -186,12 +186,12 @@ int unregister_pcic_intr(int intr, inthand2_t handler){ #else /* Not APIC_IO */ -static int register_pcic_intr(int intr, int device_id, u_int flags, +int register_pcic_intr(int intr, int device_id, u_int flags, inthand2_t handler, u_int *maskptr, int unit){ return register_intr(intr, device_id, flags, handler, maskptr, unit); } -static int unregister_pcic_intr(int intr, inthand2_t handler){ +int unregister_pcic_intr(int intr, inthand2_t handler){ return unregister_intr(intr, handler); } |