diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-11 21:14:30 +0200 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-11 21:16:23 +0200 |
commit | 77f8df9a0d07f9ca47461eb806a5c3e689830a76 (patch) | |
tree | f924c1ef46a04bda4822de78a684f4fdc940e75d /misc/tlci/files/patch-src_parser.y | |
parent | devel/libshbuf: Fix build with llvm15 (diff) |
misc/tlci: Fix build with llvm15
Approved by: portmgr (blanket)
Diffstat (limited to 'misc/tlci/files/patch-src_parser.y')
-rw-r--r-- | misc/tlci/files/patch-src_parser.y | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/tlci/files/patch-src_parser.y b/misc/tlci/files/patch-src_parser.y new file mode 100644 index 000000000000..f1418faed9f7 --- /dev/null +++ b/misc/tlci/files/patch-src_parser.y @@ -0,0 +1,11 @@ +--- 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) |