diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/time.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/sys/sys/time.h b/sys/sys/time.h index 7512840..0185c31 100644 --- a/sys/sys/time.h +++ b/sys/sys/time.h @@ -316,17 +316,25 @@ int tvtohz(struct timeval *tv); #include <time.h> #include <sys/cdefs.h> +#include <sys/select.h> __BEGIN_DECLS +int setitimer(int, const struct itimerval *, struct itimerval *); +int utimes(const char *, const struct timeval *); + +#if __BSD_VISIBLE int adjtime(const struct timeval *, struct timeval *); int futimes(int, const struct timeval *); -int getitimer(int, struct itimerval *); -int gettimeofday(struct timeval *, struct timezone *); +int futimesat(int, const char *, const struct timeval [2]); int lutimes(const char *, const struct timeval *); -int setitimer(int, const struct itimerval *, struct itimerval *); int settimeofday(const struct timeval *, const struct timezone *); -int utimes(const char *, const struct timeval *); -int futimesat(int, const char *, const struct timeval [2]); +#endif + +#if __XSI_VISIBLE +int getitimer(int, struct itimerval *); +int gettimeofday(struct timeval *, struct timezone *); +#endif + __END_DECLS #endif /* !_KERNEL */ |