]> granicus.if.org Git - strace/commitdiff
time.c: move fallback definitions of SIGEV_* values to xlat/
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 16 Sep 2015 12:09:52 +0000 (12:09 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 16 Sep 2015 12:09:52 +0000 (12:09 +0000)
* time.c: Move fallback definitions of SIGEV_* values ...
* xlat/sigev_value.in: ... here.

time.c
xlat/sigev_value.in

diff --git a/time.c b/time.c
index 920abdf3cb98a877f9640899cc06f43068d4e100..82bda5ea4290b60caca05ef05eb58d7c55945ccb 100644 (file)
--- 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
index 8b4c95e183cedcfbc5a762f6276af949808233b4..d09806bb6589a47c7277fce78463ba47fb03de9e 100644 (file)
@@ -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