Added "extern" to inline functions in thorax_time