Index: trunk/src/find.h =================================================================== --- trunk/src/find.h (revision 10843) +++ trunk/src/find.h (revision 10844) @@ -81,7 +81,7 @@ void pcb_conn_lookup_uninit(void); void pcb_component_lookup_uninit(void); void pcb_layout_lookup_uninit(void); -void pcb_rat_find_hook(void *ptr1, pcb_any_obj_t *obj, void *ptr3, pcb_bool undo, pcb_bool AndRats); +void pcb_rat_find_hook(void *ptr1, pcb_any_obj_t *obj, pcb_bool undo, pcb_bool AndRats); void pcb_save_find_flag(int); void pcb_restore_find_flag(void); int pcb_drc_all(void); Index: trunk/src/find_misc.c =================================================================== --- trunk/src/find_misc.c (revision 10843) +++ trunk/src/find_misc.c (revision 10844) @@ -329,13 +329,13 @@ * find connections for rats nesting * assumes pcb_conn_lookup_init() has already been done */ -void pcb_rat_find_hook(void *ptr1, pcb_any_obj_t *obj, void *ptr3, pcb_bool undo, pcb_bool AndRats) +void pcb_rat_find_hook(void *ptr1, pcb_any_obj_t *obj, pcb_bool undo, pcb_bool AndRats) { int type; User = undo; DumpList(); type = obj->type == PCB_OBJ_PAD ? PCB_TYPE_PAD : PCB_TYPE_PIN; - ListStart(type, ptr1, obj, ptr3); + ListStart(type, ptr1, obj, obj); DoIt(AndRats, pcb_false); User = pcb_false; } Index: trunk/src/rats.c =================================================================== --- trunk/src/rats.c (revision 10843) +++ trunk/src/rats.c (revision 10844) @@ -400,7 +400,7 @@ for (m = 0; Netl->NetN > 0 && m < Netl->NetN; m++) { a = &Netl->Net[m]; pcb_reset_conns(pcb_false); - pcb_rat_find_hook(a->Connection[0].ptr1, a->Connection[0].obj, a->Connection[0].obj, pcb_false, AndRats); + pcb_rat_find_hook(a->Connection[0].ptr1, a->Connection[0].obj, pcb_false, AndRats); /* now anybody connected to the first point has PCB_FLAG_DRC set */ /* so move those to this subnet */ PCB_FLAG_CLEAR(PCB_FLAG_DRC, (pcb_pin_t *) a->Connection[0].obj); Index: trunk/src/select.c =================================================================== --- trunk/src/select.c (revision 10843) +++ trunk/src/select.c (revision 10844) @@ -783,7 +783,7 @@ if (menu->Name && menu->Name[0] != '\0' && menu->Name[1] != '\0' && REGEXEC(menu->Name + 2)) { for (i = menu->EntryN, entry = menu->Entry; i; i--, entry++) if (pcb_rat_seek_pad(entry, &conn, pcb_false)) - pcb_rat_find_hook(conn.ptr1, conn.obj, conn.obj, pcb_true, pcb_true); + pcb_rat_find_hook(conn.ptr1, conn.obj, pcb_true, pcb_true); } } PCB_END_LOOP; Index: trunk/src_plugins/hid_lesstif/netlist.c =================================================================== --- trunk/src_plugins/hid_lesstif/netlist.c (revision 10843) +++ trunk/src_plugins/hid_lesstif/netlist.c (revision 10844) @@ -119,7 +119,7 @@ for (i = net->EntryN, entry = net->Entry; i; i--, entry++) if (pcb_rat_seek_pad(entry, &conn, pcb_false)) - pcb_rat_find_hook(conn.ptr1, conn.obj, conn.obj, pcb_true, pcb_true); + pcb_rat_find_hook(conn.ptr1, conn.obj, pcb_true, pcb_true); pcb_select_connection(PCB, select_flag); pcb_reset_conns(pcb_false); Index: trunk/src_plugins/lib_gtk_common/dlg_netlist.c =================================================================== --- trunk/src_plugins/lib_gtk_common/dlg_netlist.c (revision 10843) +++ trunk/src_plugins/lib_gtk_common/dlg_netlist.c (revision 10844) @@ -518,7 +518,7 @@ for (i = selected_net->EntryN, entry = selected_net->Entry; i; i--, entry++) if (pcb_rat_seek_pad(entry, &conn, pcb_false)) - pcb_rat_find_hook(conn.ptr1, conn.obj, conn.obj, pcb_true, pcb_true); + pcb_rat_find_hook(conn.ptr1, conn.obj, pcb_true, pcb_true); pcb_select_connection(PCB, select_flag); pcb_reset_conns(pcb_false);