shithub: scc

ref: 1e1f75a7e9d7df35f4999c0ad3913ed61a92678b
dir: /lib/c/src/malloc.h/

View raw version
#include <stdlib.h>

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

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);