The current name is not clear about its behavior. Rename it.
Showing the changes to include (1 of 2 files). Show all
Unified · Split
| @@ -37,7 +37,7 @@ static inline int clockid_to_fd(const clockid_t clk) · 36 unmodified lines | ||
| 37 | 37 | return ~(clk >> 3); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | −static inline bool clockid_aux_valid(clockid_t id) | |
| 40 | +static inline bool clockid_is_aux_clock(clockid_t id) | |
| 41 | 41 | { |
| 42 | 42 | return IS_ENABLED(CONFIG_POSIX_AUX_CLOCKS) && id >= CLOCK_AUX && id <= CLOCK_AUX_LAST; |
| 43 | 43 | } |