|
|
@@ -1,27 +0,0 @@
|
|
|
-/home/taiga/cx-zivuos/build-generic/../sources/alloc.c: In function ‘zv_alloc’:
|
|
|
-/home/taiga/cx-zivuos/build-generic/../sources/alloc.c:13:12: error: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
|
|
|
- 13 | return malloc(count);
|
|
|
- | ^~~~~~
|
|
|
-/home/taiga/cx-zivuos/build-generic/../sources/alloc.c:10:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
|
|
|
- 9 | #include "alloc.h"
|
|
|
- +++ |+#include <stdlib.h>
|
|
|
- 10 |
|
|
|
-/home/taiga/cx-zivuos/build-generic/../sources/alloc.c:13:12: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch]
|
|
|
- 13 | return malloc(count);
|
|
|
- | ^~~~~~
|
|
|
-/home/taiga/cx-zivuos/build-generic/../sources/alloc.c:13:12: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
|
|
|
-/home/taiga/cx-zivuos/build-generic/../sources/alloc.c: In function ‘zv_alloc_zero’:
|
|
|
-/home/taiga/cx-zivuos/build-generic/../sources/alloc.c:19:12: error: implicit declaration of function ‘calloc’ [-Wimplicit-function-declaration]
|
|
|
- 19 | return calloc(count);
|
|
|
- | ^~~~~~
|
|
|
-/home/taiga/cx-zivuos/build-generic/../sources/alloc.c:19:12: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
|
|
|
-/home/taiga/cx-zivuos/build-generic/../sources/alloc.c:19:12: warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch]
|
|
|
-/home/taiga/cx-zivuos/build-generic/../sources/alloc.c:19:12: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
|
|
|
-/home/taiga/cx-zivuos/build-generic/../sources/alloc.c:19:12: error: too few arguments to function ‘calloc’; expected 2, have 1
|
|
|
-/home/taiga/cx-zivuos/build-generic/../sources/alloc.c: In function ‘zv_free’:
|
|
|
-/home/taiga/cx-zivuos/build-generic/../sources/alloc.c:25:5: error: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]
|
|
|
- 25 | free(target);
|
|
|
- | ^~~~
|
|
|
-/home/taiga/cx-zivuos/build-generic/../sources/alloc.c:25:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
|
|
|
-/home/taiga/cx-zivuos/build-generic/../sources/alloc.c:25:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
|
|
|
-/home/taiga/cx-zivuos/build-generic/../sources/alloc.c:25:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
|