Index: mentor_sch.c =================================================================== --- mentor_sch.c (revision 8242) +++ mentor_sch.c (revision 8243) @@ -279,7 +279,9 @@ PCB_REGISTER_ACTIONS(mentor_sch_action_list, mentor_sch_cookie) -static void hid_mentor_sch_uninit() +int pplg_check_ver_import_mentor_sch(int ver_needed) { return 0; } + +void pplg_uninit_import_mentor_sch(void) { pcb_hid_remove_actions_by_cookie(mentor_sch_cookie); conf_unreg_fields("plugins/import_mentor_sch/"); @@ -286,7 +288,7 @@ } #include "dolists.h" -pcb_uninit_t hid_import_mentor_sch_init() +int pplg_init_import_mentor_sch(void) { #define conf_reg(field,isarray,type_name,cpath,cname,desc,flags) \ @@ -294,5 +296,5 @@ #include "mentor_sch_conf_fields.h" PCB_REGISTER_ACTIONS(mentor_sch_action_list, mentor_sch_cookie) - return hid_mentor_sch_uninit; + return 0; }