summaryrefslogtreecommitdiff
path: root/roms/ipxe/src/include/ipxe/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/ipxe/src/include/ipxe/time.h')
-rw-r--r--roms/ipxe/src/include/ipxe/time.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/roms/ipxe/src/include/ipxe/time.h b/roms/ipxe/src/include/ipxe/time.h
index 89bf90e03..4c5bb2a00 100644
--- a/roms/ipxe/src/include/ipxe/time.h
+++ b/roms/ipxe/src/include/ipxe/time.h
@@ -50,24 +50,11 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
/* Include all architecture-dependent time API headers */
#include <bits/time.h>
-extern signed long time_offset;
-
/**
- * Get current time in seconds (ignoring system clock offset)
+ * Get current time in seconds
*
* @ret time Time, in seconds
*/
time_t time_now ( void );
-/**
- * Adjust system clock
- *
- * @v delta Clock adjustment, in seconds
- */
-static inline __attribute__ (( always_inline )) void
-time_adjust ( signed long delta ) {
-
- time_offset += delta;
-}
-
#endif /* _IPXE_TIME_H */