summaryrefslogtreecommitdiffstats
path: root/src/include/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/time.h')
-rw-r--r--src/include/time.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/time.h b/src/include/time.h
index 462ac6999..ab93a3dbb 100644
--- a/src/include/time.h
+++ b/src/include/time.h
@@ -39,10 +39,10 @@ struct tm {
* @v t Time to fill in, or NULL
* @ret time Current time
*/
-static inline time_t time ( time_t *t ) {
+static inline __attribute__ (( always_inline )) time_t time ( time_t *t ) {
time_t now;
- now = time_now();
+ now = ( time_now() + time_offset );
if ( t )
*t = now;
return now;