diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-05-02 05:17:40 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-05-02 05:17:40 +0200 |
commit | bd3e9e4b7c08bb04ad0800629c478d9d359b00da (patch) | |
tree | 095ba2550eebb5f64be6a2abf8140507c44522b7 /sys/src/cmd/1l/compat.c | |
parent | f7f3e4780a5e0733f8699b7722811fb0887af8f1 (diff) |
1l, 2l, 7l, kl, vl: add missing setmalloctag() dummy in compat.c
Diffstat (limited to 'sys/src/cmd/1l/compat.c')
-rw-r--r-- | sys/src/cmd/1l/compat.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/src/cmd/1l/compat.c b/sys/src/cmd/1l/compat.c index d01de9b3f..1d9f89e43 100644 --- a/sys/src/cmd/1l/compat.c +++ b/sys/src/cmd/1l/compat.c @@ -38,7 +38,7 @@ calloc(ulong m, ulong n) void* realloc(void *p, ulong n) { - fprint(2, "realloc(0x%p, %ld) called\n", p, n); + fprint(2, "realloc(0x%p %ld) called\n", p, n); abort(); return 0; } @@ -48,3 +48,9 @@ mysbrk(ulong size) { return sbrk(size); } + +void +setmalloctag(void *v, uintptr pc) +{ + USED(v, pc); +} |