Rename my_mktime() to tm_to_time_t() and make it officially extern.