Add missing prototypes and correct function name.
Moved utc_mkcomptime into internal source module.