summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-08-25 23:45:50 +0000
committerbde <bde@FreeBSD.org>1997-08-25 23:45:50 +0000
commit9fb61aa49bb99cc873c18c0f341a2ac076a8146e (patch)
treede421ff0566347a6eebd69c3f9dc3d5ec63d7122 /sys
parent04b5795c641367257a1d856111f5add857be8a5e (diff)
downloadFreeBSD-src-9fb61aa49bb99cc873c18c0f341a2ac076a8146e.zip
FreeBSD-src-9fb61aa49bb99cc873c18c0f341a2ac076a8146e.tar.gz
Don't depend on the gcc feature of permitting conditional expressions
with only one void operand.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/scsi/93cx6.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/scsi/93cx6.h b/sys/i386/scsi/93cx6.h
index c1ae8d2..a253e75 100644
--- a/sys/i386/scsi/93cx6.h
+++ b/sys/i386/scsi/93cx6.h
@@ -20,7 +20,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id$
+ * $Id: 93cx6.h,v 1.7 1997/02/22 09:38:37 peter Exp $
*/
#include <sys/param.h>
@@ -72,9 +72,9 @@ struct seeprom_descriptor {
(((sd)->sd_maddr != NULL) ? \
*((sd)->sd_maddr) : \
inb((sd)->sd_iobase))
-#define SEEPROM_OUTB(sd, value) \
- (((sd)->sd_maddr != NULL) ? \
- *((sd)->sd_maddr) = (value) : \
+#define SEEPROM_OUTB(sd, value) \
+ (((sd)->sd_maddr != NULL) ? \
+ (void)(*((sd)->sd_maddr) = (value)) : \
outb((sd)->sd_iobase, (value)))
#elif defined(__NetBSD__)
OpenPOWER on IntegriCloud