shithub: scc

ref: 1055827d79c5371b019dfeec0fc91f2c5c4ebafd
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);
}