diff options
author | jkh <jkh@FreeBSD.org> | 1994-12-17 08:36:50 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-12-17 08:36:50 +0000 |
commit | f803eec9569663373cde7a58a247cc8abba4e3d8 (patch) | |
tree | 6ed53f1da661bec82160a5c96fa5684f02e1df92 /sys/i386/isa/gpib.c | |
parent | 2deb66393dca490beb0f61f1cdcaa7c4a559d1b4 (diff) | |
download | FreeBSD-src-f803eec9569663373cde7a58a247cc8abba4e3d8.zip FreeBSD-src-f803eec9569663373cde7a58a247cc8abba4e3d8.tar.gz |
Fix a few nasties in the conversion.
Diffstat (limited to 'sys/i386/isa/gpib.c')
-rw-r--r-- | sys/i386/isa/gpib.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/i386/isa/gpib.c b/sys/i386/isa/gpib.c index c02df78..4b5410c 100644 --- a/sys/i386/isa/gpib.c +++ b/sys/i386/isa/gpib.c @@ -42,6 +42,7 @@ #include "i386/isa/isa.h" #include "i386/isa/isa_device.h" +#define MIN(a,b) ((a < b) ? a : b) #define GPIBPRI (PZERO+8)|PCATCH #define SLEEP_MAX 1000 @@ -65,10 +66,8 @@ void devclear(unsigned char device); char spoll(unsigned char device); int gpprobe(struct isa_device *dvp); +int gpattach(); - - -int gpprobe(), gpattach(); struct isa_driver gpdriver = {gpprobe, gpattach, "gp"}; #define BUFSIZE 1024 |