From: Sascha Wildner Date: Tue, 12 Nov 2013 21:14:24 +0000 (+0100) Subject: : #if 0 some prototypes of syscalls which we don't (yet) have. X-Git-Tag: v3.9.0~1197 X-Git-Url: https://gitweb.dragonflybsd.org/~tuxillo/dragonfly.git/commitdiff_plain/a8e6840433fdc0aad2b0b8b58429ed1f29f848dd : #if 0 some prototypes of syscalls which we don't (yet) have. Came in with the "locale megapatch". Useless without implementation, but leave them in #if 0 since (being standard) we want them. --- diff --git a/include/time.h b/include/time.h index ccd7b652e1..250cd1f212 100644 --- a/include/time.h +++ b/include/time.h @@ -153,6 +153,7 @@ time_t mktime(struct tm *); size_t strftime(char * __restrict, size_t, const char * __restrict, const struct tm * __restrict); time_t time(time_t *); +#if 0 /* XXX missing */ #if __POSIX_VISIBLE >= 200112 struct sigevent; int timer_create(clockid_t, struct sigevent *__restrict, timer_t *__restrict); @@ -162,6 +163,7 @@ int timer_getoverrun(timer_t); int timer_settime(timer_t, int, const struct itimerspec *__restrict, struct itimerspec *__restrict); #endif +#endif #if __POSIX_VISIBLE void tzset(void); #endif @@ -174,9 +176,11 @@ int clock_settime(clockid_t, const struct timespec *); int nanosleep(const struct timespec *, struct timespec *); #endif /* __POSIX_VISIBLE >= 199309 */ +#if 0 /* XXX missing */ #if __POSIX_VISIBLE >= 200112 int clock_getcpuclockid(pid_t, clockid_t *); #endif +#endif #if __POSIX_VISIBLE >= 199506 char *asctime_r(const struct tm *, char *);