Index: png.c =================================================================== --- png.c (revision 26775) +++ png.c (revision 26776) @@ -1369,7 +1369,7 @@ } -static pcb_hid_gc_t png_make_gc(void) +static pcb_hid_gc_t png_make_gc(pcb_hid_t *hid) { pcb_hid_gc_t rv = (pcb_hid_gc_t) calloc(sizeof(hid_gc_s), 1); rv->me_pointer = &png_hid; @@ -1382,7 +1382,7 @@ return rv; } -static void png_destroy_gc(pcb_hid_gc_t gc) +static void png_destroy_gc(pcb_hid_t *hid, pcb_hid_gc_t gc) { free(gc); }