Dmitry V. Levin
4e0c0becf9
* defs.h (xlat_idx): New prototype. * xlat.c (xlat_idx): Remove static qualifier. * time.c (do_adjtimex): Use xlat_idx instead of xlookup. (SYS_FUNC(getitimer), SYS_FUNC(setitimer)): Use printxval_index instead of printxval. [ALPHA] (SYS_FUNC(osf_getitimer), SYS_FUNC(osf_setitimer)): Likewise. (printclockname) [CLOCKID_TO_FD]: Likewise. * xlat/adjtimex_state.in: Add "#value_indexed" directive. * xlat/clocknames.in: Likewise. * xlat/cpuclocknames.in: Add "#value_indexed" directive, add default values to constants. * xlat/itimer_which.in: Likewise.
5 lines
60 B
Plaintext
5 lines
60 B
Plaintext
#value_indexed
|
|
ITIMER_REAL 0
|
|
ITIMER_VIRTUAL 1
|
|
ITIMER_PROF 2
|