System: Redhat 7.2
GCC: 2.96-98

Changlog

* Fri Nov 30 2001 Stephen Torri <[email protected]> 1.0.6 (CVS)
- removed warning: `dev_io_fd' defined but not used. Variable
  used only by FreeBSD. Added test for FreeBSD.

Index: sanei_ab306.c
===================================================================
RCS file: /cvsroot/external/sane/sane-backends/sanei/sanei_ab306.c,v
retrieving revision 1.5
diff -U2 -r1.5 sanei_ab306.c
--- sanei_ab306.c       2001/09/05 16:49:51     1.5
+++ sanei_ab306.c       2001/12/01 04:19:00
@@ -100,5 +100,7 @@
 #define AB306_CIO      0x379           /* control i/o port */
 
+#if defined(__FreeBSD__)       
 static int dev_io_fd = 0;
+#endif
 
 typedef struct port

Stephen

Reply via email to