struct hubo_state -> hubo_state_t
struct hubo_ref -> hubo_ref_t
struct hubo_joint_state -> hubo_joint_state_t
struct hubo_jmc_state -> hubo_jmc_state_t
pick up some spare hubo_refs

Note to self: unless otherwise instructed, sed only replaces the first
match on any given line.