ref: 1d08a435776de0dd4f776cca9f2643570972809e
dir: /src/libmach/coff32/coff32strip.c/
#include <stdio.h>
#include <stdlib.h>
#include <scc/mach.h>
#include "../libmach.h"
#include "coff32.h"
void
coff32strip(Obj *obj)
{
struct coff32 *coff = obj->data;
FILHDR *hdr;
hdr = &coff->hdr;
free(coff->ents);
coff->ents = NULL;
hdr->f_nsyms = 0;
hdr->f_symptr = 0;
}