Index: plug_footprint.c =================================================================== --- plug_footprint.c (revision 4985) +++ plug_footprint.c (revision 4986) @@ -105,7 +105,7 @@ FILE *pcb_fp_fopen(const char *path, const char *name, pcb_fp_fopen_ctx_t *fctx) { FILE *res = NULL; - HOOK_CALL(pcb_plug_fp_t, plug_fp_chain, fopen, res, != NULL, (self, path, name, fctx)); + PCB_HOOK_CALL(pcb_plug_fp_t, plug_fp_chain, fopen, res, != NULL, (self, path, name, fctx)); return res; } @@ -352,7 +352,7 @@ /* Next read in any footprints in the top level dir */ res = -1; - HOOK_CALL(pcb_plug_fp_t, plug_fp_chain, load_dir, res, >= 0, (self, toppath)); + PCB_HOOK_CALL(pcb_plug_fp_t, plug_fp_chain, load_dir, res, >= 0, (self, toppath)); if (res >= 0) n_footprints += res; else