Don't depend on the gcc feature of permitting conditional expressions
with only one void operand.
This commit is contained in:
parent
07e524177e
commit
55e1fbad0f
@ -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__)
|
||||
|
Loading…
Reference in New Issue
Block a user