Don't depend on the gcc feature of permitting conditional expressions

with only one void operand.
This commit is contained in:
bde 1997-08-25 23:45:50 +00:00
parent 07e524177e
commit 55e1fbad0f

View File

@ -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>
@ -74,7 +74,7 @@ struct seeprom_descriptor {
inb((sd)->sd_iobase))
#define SEEPROM_OUTB(sd, value) \
(((sd)->sd_maddr != NULL) ? \
*((sd)->sd_maddr) = (value) : \
(void)(*((sd)->sd_maddr) = (value)) : \
outb((sd)->sd_iobase, (value)))
#elif defined(__NetBSD__)