ports/misc/tlci/files/patch-src_parser.y
Muhammad Moinur Rahman 77f8df9a0d misc/tlci: Fix build with llvm15
Approved by:	portmgr (blanket)
2023-06-11 21:16:23 +02:00

11 lines
295 B
Text

--- src/parser.y.orig 2023-06-11 19:00:49 UTC
+++ src/parser.y
@@ -4,7 +4,7 @@
#include <tlci/heap.h>
#include <tlci/string.h>
extern heap_t* tlci_heap;
-extern int yylex();
+extern int yylex(void);
extern void yyerror(const char*);
#define mkAP(f, a) \
heap_alloc_ap(tlci_heap, f, a)