From 70e24710a84797be0c26fec6b22897ddccbf679c Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 19 Apr 2004 19:59:58 +0000 Subject: cut unnamed unions --- src/libmach/machpower.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libmach/machpower.c b/src/libmach/machpower.c index d223f4f5..f1288fce 100644 --- 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 */ -- cgit v1.2.3