Index: svg.c =================================================================== --- svg.c (revision 26775) +++ svg.c (revision 26776) @@ -464,7 +464,7 @@ } -static pcb_hid_gc_t svg_make_gc(void) +static pcb_hid_gc_t svg_make_gc(pcb_hid_t *hid) { pcb_hid_gc_t rv = (pcb_hid_gc_t) calloc(sizeof(hid_gc_s), 1); rv->me_pointer = &svg_hid; @@ -474,7 +474,7 @@ return rv; } -static void svg_destroy_gc(pcb_hid_gc_t gc) +static void svg_destroy_gc(pcb_hid_t *hid, pcb_hid_gc_t gc) { free(gc); }