summaryrefslogtreecommitdiffstats
path: root/sys/pccard
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-03-12 18:45:47 +0000
committerimp <imp@FreeBSD.org>1999-03-12 18:45:47 +0000
commit5fa6e11c9ccb152bc1ac89cb2e9324424d5e1992 (patch)
treeaf82fd70775f44fcf2e51a1930e207898b3fd481 /sys/pccard
parenta83e4078893f3a284de67a4f2375e037a5684e04 (diff)
downloadFreeBSD-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/pccard')
-rw-r--r--sys/pccard/pcic.c4
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);
}
OpenPOWER on IntegriCloud