shithub: scc

ref: e6a90cd2d996bc93d89c52d6cc0b1b222105568a
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);