summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/gpib.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-12-17 08:36:50 +0000
committerjkh <jkh@FreeBSD.org>1994-12-17 08:36:50 +0000
commitf803eec9569663373cde7a58a247cc8abba4e3d8 (patch)
tree6ed53f1da661bec82160a5c96fa5684f02e1df92 /sys/i386/isa/gpib.c
parent2deb66393dca490beb0f61f1cdcaa7c4a559d1b4 (diff)
downloadFreeBSD-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.c5
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
OpenPOWER on IntegriCloud