mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-17 05:12:47 +03:00
The current macros uses pid as signed value, which triggers a compiler warning for process and thread timers. Replace MAKE_PROCESS_CPUCLOCK with static inline function that expects the pid as unsigned. These are similar to what Linux does internally. Checked on x86_64-linux-gnu. Reviewed-by: Arjun Shankar <arjun@redhat.com>
5.3 KiB
5.3 KiB