ref: 0beecd8577e44f17c6c5e64bca2553cee0ddac9a
parent: bff129628abfb6052b74c64dd5e4ea54cc12a1f1
author: cinap_lenrek <[email protected]>
date: Mon Jul 31 18:48:07 EDT 2023
tl: use the allocator from cc/compat
--- /dev/null
+++ b/sys/src/cmd/tl/compat.c
@@ -1,0 +1,2 @@
+#include "l.h"
+#include "../cc/compat"
--- a/sys/src/cmd/tl/l.h
+++ b/sys/src/cmd/tl/l.h
@@ -2,6 +2,7 @@
#include <libc.h>
#include <bio.h>
#include "../5c/5.out.h"
+#include "../cc/compat.h"
#ifndef EXTERN
#define EXTERN extern
--- a/sys/src/cmd/tl/mkfile
+++ b/sys/src/cmd/tl/mkfile
@@ -12,10 +12,12 @@
span.$O\
enam.$O\
thumb.$O\
+ compat.$O\
HFILES=\
l.h\
../5c/5.out.h\
+ ../cc/compat.h\
BIN=/$objtype/bin
</sys/src/cmd/mkone
@@ -23,3 +25,4 @@
enam.$O: ../5c/enam.c
$CC $CFLAGS ../5c/enam.c
+compat.$O: ../cc/compat