Update CLOCK_* constants
* time.c (clocknames): Add CLOCK_BOOTTIME, CLOCK_REALTIME_ALARM, CLOCK_BOOTTIME_ALARM, CLOCK_SGI_CYCLE, and CLOCK_TAI. Fixes RH#1088455.
This commit is contained in:
15
time.c
15
time.c
@ -664,6 +664,21 @@ static const struct xlat clocknames[] = {
|
||||
#endif
|
||||
#ifdef CLOCK_MONOTONIC_COARSE
|
||||
XLAT(CLOCK_MONOTONIC_COARSE),
|
||||
#endif
|
||||
#ifdef CLOCK_BOOTTIME
|
||||
XLAT(CLOCK_BOOTTIME),
|
||||
#endif
|
||||
#ifdef CLOCK_REALTIME_ALARM
|
||||
XLAT(CLOCK_REALTIME_ALARM),
|
||||
#endif
|
||||
#ifdef CLOCK_BOOTTIME_ALARM
|
||||
XLAT(CLOCK_BOOTTIME_ALARM),
|
||||
#endif
|
||||
#ifdef CLOCK_SGI_CYCLE
|
||||
XLAT(CLOCK_SGI_CYCLE),
|
||||
#endif
|
||||
#ifdef CLOCK_TAI
|
||||
XLAT(CLOCK_TAI),
|
||||
#endif
|
||||
XLAT_END
|
||||
};
|
||||
|
Reference in New Issue
Block a user