From 249af91ff9d9ffbd8962efcad999de442e609658 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Tue, 14 Feb 2017 13:10:02 -0500 Subject: minor cleanup in all.h --- all.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'all.h') diff --git a/all.h b/all.h index d13ef5c..a038612 100644 --- a/all.h +++ b/all.h @@ -9,7 +9,6 @@ #define die(...) die_(__FILE__, __VA_ARGS__) typedef unsigned int uint; -typedef unsigned short ushort; typedef unsigned long ulong; typedef unsigned long long bits; @@ -101,8 +100,8 @@ struct BSet { }; struct Ref { - uint32_t type:3; - uint32_t val:29; + uint type:3; + uint val:29; }; enum { @@ -456,14 +455,13 @@ struct Typ { int align; size_t size; int nunion; - struct Seg { enum { - Send, - Spad, - Sint, - Sflt, - Styp, + SEnd, + SPad, + SInt, + SFlt, + STyp, } type; uint len; /* index in typ[] for Styp */ } (*seg)[NSeg+1]; -- cgit 1.4.1