gentoo/dev-util/treecc/files/treecc-0.3.10-proto.patch
Alexey Sokolov 5bc507c1fd
dev-util/treecc: fix build with c23
Closes: https://bugs.gentoo.org/880433
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/42147
Closes: https://github.com/gentoo/gentoo/pull/42147
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-21 22:13:57 +01:00

15 lines
285 B
Diff

https://bugs.gentoo.org/880433
--- a/etc/c_skel.c
+++ b/etc/c_skel.c
@@ -112,8 +112,7 @@ YYNODESTATE *state__;
unsigned int size__;
{
#else
-void *yynodealloc(size__)
-unsigned int size__;
+void *yynodealloc(unsigned int size__)
{
YYNODESTATE *state__ = &fixed_state__;
#endif