summaryrefslogtreecommitdiff
path: root/chibicc.h
diff options
context:
space:
mode:
authorMatthew Sotoudeh <matthew@masot.net>2023-07-26 10:53:27 -0700
committerMatthew Sotoudeh <matthew@masot.net>2023-07-26 10:53:27 -0700
commitf35b7e32809c5d54850ce75c4dad1a8598235cf0 (patch)
treea741ac273b8109db35b2abd59423a5efe6293a04 /chibicc.h
parent36fc249a02eb0ef32d3bc1d4e596683b64b1eb5f (diff)
simplify code a fair bit
Diffstat (limited to 'chibicc.h')
-rw-r--r--chibicc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chibicc.h b/chibicc.h
index 397c4fb..01f4264 100644
--- a/chibicc.h
+++ b/chibicc.h
@@ -421,7 +421,8 @@ void typegen(Obj *prog, FILE *out);
//
int definitely_same_type(Type *type1, Type *type2);
-unsigned long hash_type(Type *type);
+void hash_insert(Type *type);
+Type *hash_lookup(Type *type);
//
// unicode.c
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback