C declaration for time functions