Modify term_strdup() to return char *, not void *.