diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-22 15:06:50 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-06 11:50:46 -0600 |
commit | 39d8fd2161d0a505c5b25add023aad833714b980 (patch) | |
tree | 4df71809eb36dc83243baf6fbbc2fdcc799c8051 /lib9p/core_gen/c.py | |
parent | a9c86c0670f7ed763dedc9cc59dd288d5cc1011b (diff) |
Use C23
This gives us:
- [[maybe_unused]] instead of [[gnu::unused]]
- bool/true/false are predefined, so no need for <stdbool.h>
Diffstat (limited to 'lib9p/core_gen/c.py')
-rw-r--r-- | lib9p/core_gen/c.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib9p/core_gen/c.py b/lib9p/core_gen/c.py index b0ff871..c05e457 100644 --- a/lib9p/core_gen/c.py +++ b/lib9p/core_gen/c.py @@ -23,7 +23,6 @@ def gen_c(versions: set[str], typs: list[idl.UserType]) -> str: ret = f"""/* Generated by `{' '.join(sys.argv)}`. DO NOT EDIT! */ -#include <stdbool.h> #include <stddef.h> /* for size_t */ #include <inttypes.h> /* for PRI* macros */ #include <string.h> /* for memset() */ |