plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 70e24710a84797be0c26fec6b22897ddccbf679c
parent 10323cd3271635ce751d81aaddeb018c17ffd0ca
Author: rsc <devnull@localhost>
Date:   Mon, 19 Apr 2004 19:59:58 +0000

cut unnamed unions

Diffstat:
Msrc/libmach/machpower.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/libmach/machpower.c b/src/libmach/machpower.c @@ -96,11 +96,11 @@ typedef struct { uchar bi; /* bits 11-15 */ uchar bo; /* bits 6-10 */ uchar crbd; /* bits 6-10 */ - union { + /*union {*/ short d; /* bits 16-31 */ short simm; ushort uimm; - }; + /*};*/ uchar fm; /* bits 7-14 */ uchar fra; /* bits 11-15 */ uchar frb; /* bits 16-20 */ @@ -118,10 +118,10 @@ typedef struct { uchar ra; /* bits 11-15 */ uchar rb; /* bits 16-20 */ uchar rc; /* bit 31 */ - union { + /*union {*/ uchar rs; /* bits 6-10 */ uchar rd; - }; + /*};*/ uchar sh; /* bits 16-20 */ ushort spr; /* bits 11-20 */ uchar to; /* bits 6-10 */