shithub: scc

ref: 495f9ed1829ea0843bf1cc5395d1f7fd9a8a6c9b
dir: /src/libc/stdlib/malloc.h/

View raw version
#include <stdlib.h>

/* minimum amount of required units */
#define NALLOC 16

typedef union header Header;
union header {
	struct hdr {
		Header *next;
		size_t size;
	} h;
	/* most restrictive type fixes the union size for alignment */
	_ALIGNTYPE most;
};

extern void *_prevchunk(Header *hp);