From: Dmitry V. Levin Date: Wed, 16 Sep 2015 12:09:52 +0000 (+0000) Subject: time.c: move fallback definitions of SIGEV_* values to xlat/ X-Git-Tag: v4.11~200 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=644a8093a290f1aa3f3c074e9fcebf926acea115;p=strace time.c: move fallback definitions of SIGEV_* values to xlat/ * time.c: Move fallback definitions of SIGEV_* values ... * xlat/sigev_value.in: ... here. --- diff --git a/time.c b/time.c index 920abdf3..82bda5ea 100644 --- a/time.c +++ b/time.c @@ -509,9 +509,6 @@ SYS_FUNC(clock_adjtime) return 0; } -#ifndef SIGEV_THREAD_ID -# define SIGEV_THREAD_ID 4 -#endif #include "xlat/sigev_value.h" #if SUPPORTED_PERSONALITIES > 1 diff --git a/xlat/sigev_value.in b/xlat/sigev_value.in index 8b4c95e1..d09806bb 100644 --- a/xlat/sigev_value.in +++ b/xlat/sigev_value.in @@ -1,4 +1,4 @@ -SIGEV_SIGNAL -SIGEV_NONE -SIGEV_THREAD -SIGEV_THREAD_ID +SIGEV_SIGNAL 0 +SIGEV_NONE 1 +SIGEV_THREAD 2 +SIGEV_THREAD_ID 4