Index: rats_mincut.c =================================================================== --- rats_mincut.c (revision 21907) +++ rats_mincut.c (revision 21908) @@ -30,6 +30,7 @@ #include #include +#include "board.h" #include "data.h" #include "draw.h" #include "error.h" @@ -51,10 +52,6 @@ #include "rats_mincut_conf.h" conf_mincut_t conf_mincut; -TODO("find.c: REMOVE THESE after the switchover") -#include "board.h" -extern int TheFlag; - /* define to 1 to enable debug prints */ #if 0 # define debprintf pcb_trace @@ -134,7 +131,7 @@ /* perform a search calling back proc_short_cb() with the connections */ memset(&fctx, 0, sizeof(fctx)); - fctx.found_cb = proc_short_cb; + fctx.found_cb = proc_short_cb; pcb_find_from_obj(&fctx, PCB->Data, term); pcb_find_free(&fctx);