`<uk/alloc.h>`: Move the type `struct uk_alloc` declaration into the
C code block.
Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@gmail.com>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #229
#include <uk/assert.h>
#include <uk/essentials.h>
-struct uk_alloc;
-
#ifdef __cplusplus
extern "C" {
#endif
+struct uk_alloc;
+
#define uk_zalloc(a, size) uk_calloc(a, 1, size)
#define uk_do_zalloc(a, size) uk_do_calloc(a, 1, size)