summaryrefslogtreecommitdiff
path: root/iflag.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2013-11-24 11:49:24 -0800
committerH. Peter Anvin <hpa@zytor.com>2013-11-24 11:49:24 -0800
commit8b0e5a34fcbc66e04cec3fc297c20a34e79c4dc0 (patch)
tree4940684325751b3ca44b0d2f165ed528d6859e8b /iflag.h
parentcd4c89bbb9a59c76671f2fe8bdbe0de34e38ef1d (diff)
downloadnasm-8b0e5a34fcbc66e04cec3fc297c20a34e79c4dc0.tar.gz
nasm-8b0e5a34fcbc66e04cec3fc297c20a34e79c4dc0.tar.bz2
nasm-8b0e5a34fcbc66e04cec3fc297c20a34e79c4dc0.zip
iflag: remove C99 constructs, don't hardcode the number of words
Avoid using C99 constructs when not necessary. Don't hardcode the number of words when we can autodiscover them. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'iflag.h')
-rw-r--r--iflag.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/iflag.h b/iflag.h
index d08249e..72929ee 100644
--- a/iflag.h
+++ b/iflag.h
@@ -37,10 +37,6 @@ int ilog2_32(uint32_t v);
*
* iflag_t is defined to store these flags.
*/
-typedef struct {
- uint32_t field[4];
-} iflag_t;
-
#include "iflaggen.h"
#define IF_GENBIT(bit) (UINT32_C(1) << (bit))