scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

malloc.h (274B)


      1 /* minimum amount of required units */
      2 #define NALLOC 16
      3 
      4 typedef union header Header;
      5 union header {
      6 	struct hdr {
      7 		Header *next;
      8 		size_t size;
      9 	} h;
     10 	/* most restrictive type fixes the union size for alignment */
     11 	_ALIGNTYPE most;
     12 };
     13 
     14 extern void *_prevchunk(Header *);