time.c: move fallback definitions of SIGEV_* values to xlat/

* time.c: Move fallback definitions of SIGEV_* values ...
* xlat/sigev_value.in: ... here.
This commit is contained in:
Дмитрий Левин 2015-09-16 12:09:52 +00:00
parent e2fb0bb2cf
commit 644a8093a2
2 changed files with 4 additions and 7 deletions

3
time.c
View File

@ -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

View 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