aboutsummaryrefslogtreecommitdiff
path: root/src/libmach
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-19 19:59:58 +0000
committerrsc <devnull@localhost>2004-04-19 19:59:58 +0000
commit70e24710a84797be0c26fec6b22897ddccbf679c (patch)
tree71281f5282928d0941942562985d82c7bbef7519 /src/libmach
parent10323cd3271635ce751d81aaddeb018c17ffd0ca (diff)
downloadplan9port-70e24710a84797be0c26fec6b22897ddccbf679c.tar.gz
plan9port-70e24710a84797be0c26fec6b22897ddccbf679c.tar.bz2
plan9port-70e24710a84797be0c26fec6b22897ddccbf679c.zip
cut unnamed unions
Diffstat (limited to 'src/libmach')
-rw-r--r--src/libmach/machpower.c8
1 files 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 */