diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-15 19:59:14 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-15 19:59:14 -0400 |
| commit | e5420471a7364a92521575e7abd3a29a9318001b (patch) | |
| tree | 6b7aaccff3d033fdc49cee41874071637fa8b68e /src/types.c | |
| parent | c3615dc92c667899af7a11b2b25201dad5502ee6 (diff) | |
Make some compatibility fixes to make sure the compiler can fully build
using TinyCC
Diffstat (limited to 'src/types.c')
| -rw-r--r-- | src/types.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/types.c b/src/types.c index 14f6bc8e..dd76258d 100644 --- a/src/types.c +++ b/src/types.c @@ -570,6 +570,7 @@ PUREFUNC size_t type_size(type_t *t) #pragma GCC diagnostic pop #endif errx(1, "This should not be reachable"); + return 0; } PUREFUNC size_t type_align(type_t *t) @@ -646,6 +647,7 @@ PUREFUNC size_t type_align(type_t *t) #pragma GCC diagnostic pop #endif errx(1, "This should not be reachable"); + return 0; } type_t *get_field_type(type_t *t, const char *field_name) |
