Index: dxf.c =================================================================== --- dxf.c (revision 26775) +++ dxf.c (revision 26776) @@ -426,7 +426,7 @@ } -static pcb_hid_gc_t dxf_make_gc(void) +static pcb_hid_gc_t dxf_make_gc(pcb_hid_t *hid) { pcb_hid_gc_t rv = (pcb_hid_gc_t) calloc(sizeof(hid_gc_s), 1); rv->me_pointer = &dxf_hid; @@ -433,7 +433,7 @@ return rv; } -static void dxf_destroy_gc(pcb_hid_gc_t gc) +static void dxf_destroy_gc(pcb_hid_t *hid, pcb_hid_gc_t gc) { free(gc); }