Index: export_openscad.c =================================================================== --- export_openscad.c (revision 26775) +++ export_openscad.c (revision 26776) @@ -414,7 +414,7 @@ } -static pcb_hid_gc_t openscad_make_gc(void) +static pcb_hid_gc_t openscad_make_gc(pcb_hid_t *hid) { pcb_hid_gc_t rv = (pcb_hid_gc_t) calloc(sizeof(hid_gc_s), 1); rv->me_pointer = &openscad_hid; @@ -421,7 +421,7 @@ return rv; } -static void openscad_destroy_gc(pcb_hid_gc_t gc) +static void openscad_destroy_gc(pcb_hid_t *hid, pcb_hid_gc_t gc) { free(gc); }