aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-02-03 20:07:02 +0000
committerBruce Evans <bde@FreeBSD.org>1998-02-03 20:07:02 +0000
commiteafe3040d40f6995c3f070871e18b4acabce531b (patch)
treed4886c697764e2ce30c9c5bb895b34fe644224d0 /sys/i386/include
parent919de96974d1bf9199fbe5b993b0a3eff48f7234 (diff)
downloadsrc-eafe3040d40f6995c3f070871e18b4acabce531b.tar.gz
src-eafe3040d40f6995c3f070871e18b4acabce531b.zip
Don't declare prototypes for driver functions unless KERNEL is defined.
Notes
Notes: svn path=/head/; revision=33043
Diffstat (limited to 'sys/i386/include')
-rw-r--r--sys/i386/include/cronyx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/include/cronyx.h b/sys/i386/include/cronyx.h
index 7a4e7ccc9ebb..cdd404736826 100644
--- a/sys/i386/include/cronyx.h
+++ b/sys/i386/include/cronyx.h
@@ -465,6 +465,7 @@ typedef struct _board_t {
#define CX_SPEED_DFLT 9600
+#ifdef KERNEL
int cx_probe_board (int port);
void cx_init (cx_board_t *b, int num, int port, int irq, int dma);
void cx_setup_board (cx_board_t *b);
@@ -474,6 +475,7 @@ void cx_chan_rts (cx_chan_t *c, int on);
void cx_cmd (int base, int cmd);
int cx_chan_cd (cx_chan_t *c);
void cx_clock (long hz, long ba, int *clk, int *div);
+#endif
#define CXIOCGETMODE _IOWR('x', 1, cx_options_t) /* get channel options */
#define CXIOCSETMODE _IOW('x', 2, cx_options_t) /* set channel options */