Index: stat.c =================================================================== --- stat.c (revision 30981) +++ stat.c (revision 30982) @@ -72,36 +72,36 @@ /* other HIDs expect this to be first. */ {"outfile", "Output file name", - PCB_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, #define HA_statfile 0 {"board_id", "Short name of the board so it can be identified for updates", - PCB_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, #define HA_board_id 1 {"orig", "This design started its life in pcb-rnd", - PCB_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, #define HA_orig 2 {"lht_built", "This design was already in lihata when real boards got built", - PCB_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, #define HA_lht_built 3 {"built", "how many actual/physical boards got built", - PCB_HATT_INTEGER, 0, 1000000, {0, 0, 0}, 0, 0}, + RND_HATT_INTEGER, 0, 1000000, {0, 0, 0}, 0, 0}, #define HA_built 4 {"first_ver", "the version of pcb-rnd you first used on this board", - PCB_HATT_STRING, 0, 0, {0, NULL, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, NULL, 0}, 0, 0}, #define HA_first_ver 5 {"license", "license of the design", - PCB_HATT_STRING, 0, 0, {0, NULL, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, NULL, 0}, 0, 0}, #define HA_license 6 {"cam", "CAM instruction", - PCB_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, #define HA_cam 7 }; @@ -373,7 +373,7 @@ static int stat_parse_arguments(rnd_hid_t *hid, int *argc, char ***argv) { - pcb_export_register_opts(stat_attribute_list, sizeof(stat_attribute_list) / sizeof(stat_attribute_list[0]), stat_cookie, 0); + rnd_export_register_opts(stat_attribute_list, sizeof(stat_attribute_list) / sizeof(stat_attribute_list[0]), stat_cookie, 0); return pcb_hid_parse_command_line(argc, argv); } @@ -393,7 +393,7 @@ free((char *)stat_attribute_list[HA_license].default_val.str); stat_attribute_list[HA_first_ver].default_val.str = NULL; stat_attribute_list[HA_license].default_val.str = NULL; - pcb_export_remove_opts_by_cookie(stat_cookie); + rnd_export_remove_opts_by_cookie(stat_cookie); } int pplg_init_export_stat(void)