iPXE
|
00001 #ifndef _IPXE_NULL_TIME_H 00002 #define _IPXE_NULL_TIME_H 00003 00004 /** @file 00005 * 00006 * Nonexistent time source 00007 * 00008 */ 00009 00010 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); 00011 00012 #ifdef TIME_NULL 00013 #define TIME_PREFIX_null 00014 #else 00015 #define TIME_PREFIX_null __null_ 00016 #endif 00017 00018 static inline __always_inline time_t 00019 TIME_INLINE ( null, time_now ) ( void ) { 00020 return 0; 00021 } 00022 00023 #endif /* _IPXE_NULL_TIME_H */