summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-03-10 18:51:15 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2011-03-10 18:51:15 -0500
commitf7b3e616c3d16a85e0cc1de32e37e036c964294a (patch)
treeb141688cd684a68c9ca22d806b09af122a99bd51 /include
parent7119e3b05218f975fe8b3f9a4c5fd4a680e05933 (diff)
Represent 'unit' as C 'int'; change pattern match compilation to avoid 'goto'; change Postgres prepared statement compilation to make life easier for the GCC escape analysis; all this in support of better tail call optimization
Diffstat (limited to 'include')
-rw-r--r--include/types.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/types.h b/include/types.h
index d36f0f6b..28658862 100644
--- a/include/types.h
+++ b/include/types.h
@@ -18,10 +18,7 @@ typedef struct {
char *data;
} uw_Basis_blob;
-struct __uws_0 {
-};
-
-typedef struct __uws_0 uw_unit;
+typedef int uw_unit;
typedef uw_unit uw_Basis_unit;
typedef enum uw_Basis_bool { uw_Basis_False, uw_Basis_True } uw_Basis_bool;