shithub: scc

ref: c75d39d84fcaf779903f1e76c1ffebccac2de3cc
dir: /src/libmach/objdel.c/

View raw version
#include <stdio.h>
#include <stdlib.h>

#include <scc/mach.h>

#include "libmach.h"

int
objdel(Obj *obj)
{
	if (objreset(obj) < 0)
		return -1;
	free(obj);
}