ref: 61f5fa44e9f8b7ce6ee4cd5bd71c10845287960d
dir: /src/libmach/objsync.c/
#include <stdio.h> #include <scc/mach.h> #include "libmach.h" static int (*funv[])(Obj *) = { [COFF32] = coff32sync, }; int objsync(Obj *obj) { int fmt; fmt = FORMAT(obj->type); if (fmt >= NFORMATS) return -1; return (*funv[fmt])(obj); }