summaryrefslogtreecommitdiff
path: root/lib9p/core_gen/c.py
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-05-17 13:06:51 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-05-17 13:11:00 -0600
commit037df4afccb4577351f8155a0b9a36825ac7eb15 (patch)
treeb03f0e5abfd0602df56d7548c161966de8e74895 /lib9p/core_gen/c.py
parentef72481ffee3403dc50e93b5686c30ed841e0257 (diff)
Tidy #includes: We don't use PRI* anymore
Diffstat (limited to 'lib9p/core_gen/c.py')
-rw-r--r--lib9p/core_gen/c.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib9p/core_gen/c.py b/lib9p/core_gen/c.py
index 5776035..0947ec2 100644
--- a/lib9p/core_gen/c.py
+++ b/lib9p/core_gen/c.py
@@ -23,9 +23,8 @@ def gen_c(versions: set[str], typs: list[idl.UserType]) -> str:
ret = f"""/* Generated by `{' '.join(sys.argv)}`. DO NOT EDIT! */
-#include <stddef.h> /* for size_t */
-#include <inttypes.h> /* for PRI* macros */
-#include <string.h> /* for memset() */
+#include <stddef.h> /* for size_t */
+#include <string.h> /* for memset() */
#include <libmisc/assert.h>
#include <libmisc/endian.h>