summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/cronyx.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-07-20 10:14:28 +0000
committerbde <bde@FreeBSD.org>1997-07-20 10:14:28 +0000
commit21312369d70d9125d6b8ac502c5757f8d10fa172 (patch)
tree43ffda21a724a3544af8d6d22a245d409d398ec8 /sys/i386/include/cronyx.h
parentd432b54afc9de69ba88f42d218c19ea016af6e64 (diff)
downloadFreeBSD-src-21312369d70d9125d6b8ac502c5757f8d10fa172.zip
FreeBSD-src-21312369d70d9125d6b8ac502c5757f8d10fa172.tar.gz
Fixed pedantic ANSI C errors:
- don't put a comma after the last element in enum declarations. - don't declare static objects as extern.
Diffstat (limited to 'sys/i386/include/cronyx.h')
-rw-r--r--sys/i386/include/cronyx.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/sys/i386/include/cronyx.h b/sys/i386/include/cronyx.h
index 4386773..7a4e7cc 100644
--- a/sys/i386/include/cronyx.h
+++ b/sys/i386/include/cronyx.h
@@ -308,7 +308,7 @@ typedef enum { /* channel mode */
M_ASYNC, /* asynchronous mode */
M_HDLC, /* HDLC mode */
M_BISYNC, /* BISYNC mode */
- M_X21, /* X.21 mode */
+ M_X21 /* X.21 mode */
} cx_chan_mode_t;
typedef struct { /* channel option register 4 */
@@ -354,7 +354,7 @@ typedef struct {
typedef enum { /* line break mode */
BRK_IDLE, /* normal line mode */
BRK_SEND, /* start sending break */
- BRK_STOP, /* stop sending break */
+ BRK_STOP /* stop sending break */
} cx_break_t;
typedef struct {
@@ -465,15 +465,6 @@ typedef struct _board_t {
#define CX_SPEED_DFLT 9600
-extern long cx_rxbaud, cx_txbaud;
-extern int cx_univ_mode, cx_sync_mode, cx_iftype;
-
-extern cx_chan_opt_t chan_opt_dflt; /* default mode-independent options */
-extern cx_opt_async_t opt_async_dflt; /* default async options */
-extern cx_opt_hdlc_t opt_hdlc_dflt; /* default hdlc options */
-extern cx_opt_bisync_t opt_bisync_dflt; /* default bisync options */
-extern cx_opt_x21_t opt_x21_dflt; /* default x21 options */
-
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);
OpenPOWER on IntegriCloud