From 510477557d1cd13dc3cfdebf32338aa1b75180cb Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 26 Feb 2014 17:40:52 +0000 Subject: py: Take out bitfield entries from their own structure. Don't need to wrap bitfields in their own struct. Compiler does the correct thing without it. --- py/misc.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'py/misc.h') diff --git a/py/misc.h b/py/misc.h index 278d59d4fa..3671f42d87 100644 --- a/py/misc.h +++ b/py/misc.h @@ -66,10 +66,8 @@ typedef struct _vstr_t { int alloc; int len; char *buf; - struct { - bool had_error : 1; - bool fixed_buf : 1; - }; + bool had_error : 1; + bool fixed_buf : 1; } vstr_t; // convenience macro to declare a vstr with a fixed size buffer on the stack -- cgit v1.2.3