summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2006-02-22 21:38:33 +0000
committersam <sam@FreeBSD.org>2006-02-22 21:38:33 +0000
commit116633743d5e859fd2606d23d5088657882b1a41 (patch)
treeb807a76469dbecf21ab3580e9f407e9a9c3a345c /sys
parente38adb7f1e003d299895a00feb5d15a5c699801c (diff)
downloadFreeBSD-src-116633743d5e859fd2606d23d5088657882b1a41.zip
FreeBSD-src-116633743d5e859fd2606d23d5088657882b1a41.tar.gz
guard function decls with _KERNEL so user code can include this file
MFC after: 1 week
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/include/mptable.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/include/mptable.h b/sys/i386/include/mptable.h
index aad99ed..451d9ce 100644
--- a/sys/i386/include/mptable.h
+++ b/sys/i386/include/mptable.h
@@ -139,7 +139,8 @@ typedef struct BASETABLE_ENTRY {
char name[16];
} basetable_entry;
+#ifdef _KERNEL
int mptable_pci_probe_table(int bus);
int mptable_pci_route_interrupt(device_t pcib, device_t dev, int pin);
-
+#endif
#endif /* !__MACHINE_MPTABLE_H__ */
OpenPOWER on IntegriCloud