1 #ifndef _IPXE_NULL_TIME_H 2 #define _IPXE_NULL_TIME_H 3 4 /** @file 5 * 6 * Nonexistent time source 7 * 8 */ 9 10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); 11 12 #ifdef TIME_NULL 13 #define TIME_PREFIX_null 14 #else 15 #define TIME_PREFIX_null __null_ 16 #endif 17 18 static inline __always_inline time_t TIME_INLINE(null,time_now)19TIME_INLINE ( null, time_now ) ( void ) { 20 return 0; 21 } 22 23 #endif /* _IPXE_NULL_TIME_H */ 24