summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/types.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/types.h b/include/types.h
index d5d2b202..afd4ff45 100644
--- a/include/types.h
+++ b/include/types.h
@@ -8,11 +8,7 @@ struct __lws_0 {
typedef struct __lws_0 lw_unit;
typedef lw_unit lw_Basis_unit;
-enum lw_Basis_bool_enum { lw_Basis_False, lw_Basis_True };
-
-typedef struct lw_Basis_bool {
- enum lw_Basis_bool_enum tag;
-} *lw_Basis_bool;
+typedef enum lw_Basis_bool { lw_Basis_False, lw_Basis_True } lw_Basis_bool;
typedef struct lw_context *lw_context;