Index: export_openems.c =================================================================== --- export_openems.c (revision 26775) +++ export_openems.c (revision 26776) @@ -696,7 +696,7 @@ return 0; } -static pcb_hid_gc_t openems_make_gc(void) +static pcb_hid_gc_t openems_make_gc(pcb_hid_t *hid) { pcb_hid_gc_t rv = (pcb_hid_gc_t) calloc(sizeof(hid_gc_s), 1); rv->me_pointer = &openems_hid; @@ -703,7 +703,7 @@ return rv; } -static void openems_destroy_gc(pcb_hid_gc_t gc) +static void openems_destroy_gc(pcb_hid_t *hid, pcb_hid_gc_t gc) { free(gc); }