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
commit07e59d83c097dd267a149220e52498cdb4d79aa4 (patch)
treeb141688cd684a68c9ca22d806b09af122a99bd51 /include
parent56cb0ee3ad6609b7f37140a700eb6c6d95930d71 (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;