scc

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

delmap.c (197B)


      1 #include <limits.h>
      2 #include <stdlib.h>
      3 #include <stdio.h>
      4 #include <string.h>
      5 
      6 #include <scc/mach.h>
      7 
      8 #include "libmach.h"
      9 
     10 void
     11 delmap(Map *map)
     12 {
     13 	free(map->seg);
     14 	free(map->sec);
     15 	free(map);
     16 }