diff options
author | bde <bde@FreeBSD.org> | 1995-12-15 00:54:32 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-15 00:54:32 +0000 |
commit | 78ea2a381b4a1829338088dc12e054d05bd32b59 (patch) | |
tree | 0e4fed627017f370a1dc320465630b9b87d4f4af /sys/i386/isa/tw.c | |
parent | 54924772e9c10201de95bda5b1765dc4efc93604 (diff) | |
download | FreeBSD-src-78ea2a381b4a1829338088dc12e054d05bd32b59.zip FreeBSD-src-78ea2a381b4a1829338088dc12e054d05bd32b59.tar.gz |
Completed function declarations and/or added prototypes and/or added
#includes to get prototypes.
Diffstat (limited to 'sys/i386/isa/tw.c')
-rw-r--r-- | sys/i386/isa/tw.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/i386/isa/tw.c b/sys/i386/isa/tw.c index 7772707..0120189 100644 --- a/sys/i386/isa/tw.c +++ b/sys/i386/isa/tw.c @@ -198,9 +198,8 @@ #define TWPRI (PZERO+8) /* I don't know any better, so let's */ /* use the same as the line printer */ -static int twprobe(); -static int twattach(); -void twintr(int unit); +static int twprobe(struct isa_device *idp); +static int twattach(struct isa_device *idp); struct isa_driver twdriver = { twprobe, twattach, "tw" @@ -251,13 +250,15 @@ static struct tw_sc { #endif } tw_sc[NTW]; -static void twdelay25(); +static void twdelay25(void); static void twdelayn(int n); static void twsetuptimes(int *a); static int wait_for_zero(struct tw_sc *sc); static int twgetbytes(struct tw_sc *sc, u_char *p, int cnt); +static void twabortrcv(struct tw_sc *sc); static int twsend(struct tw_sc *sc, int h, int k, int cnt); static int next_zero(struct tw_sc *sc); +static int twputpkt(struct tw_sc *sc, u_char *p); static int twchecktime(int target, int tol); /* |