View | Details | Raw Unified | Return to bug 231425
Collapse All | Expand All

(-)b/include/time.h (+3 lines)
Lines 207-215 time_t posix2time(time_t t); Link Here
207
#include <xlocale/_time.h>
207
#include <xlocale/_time.h>
208
#endif
208
#endif
209
209
210
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L)
211
#include <sys/_timespec.h>
210
/* ISO/IEC 9899:201x 7.27.2.5 The timespec_get function */
212
/* ISO/IEC 9899:201x 7.27.2.5 The timespec_get function */
211
#define TIME_UTC	1	/* time elapsed since epoch */
213
#define TIME_UTC	1	/* time elapsed since epoch */
212
int timespec_get(struct timespec *ts, int base);
214
int timespec_get(struct timespec *ts, int base);
215
#endif
213
216
214
__END_DECLS
217
__END_DECLS
215
218
(-)b/lib/libc/gen/timespec_get.c (+2 lines)
Lines 35-40 __FBSDID("$FreeBSD$"); Link Here
35
35
36
#include <time.h>
36
#include <time.h>
37
37
38
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L)
38
/* ISO/IEC 9899:201x 7.27.2.5 The timespec_get function */
39
/* ISO/IEC 9899:201x 7.27.2.5 The timespec_get function */
39
40
40
int
41
int
Lines 52-54 timespec_get(struct timespec *ts, int base) Link Here
52
53
53
	return base;
54
	return base;
54
}
55
}
56
#endif

Return to bug 231425