Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-07-22 23:30:00 +0400
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-07-22 23:30:00 +0400
commite4994e769ed5b4219ddc6e5144a92068f5996614 (patch)
treef3c09a15023e14955856239030ecfba218a432a4 /newlib/libc/include
parent3be2cd04054844e63d05ace2f31b90f8c76ff925 (diff)
2014-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/include/sys/time.h: Add prototype for adjtime() and wrap it and settimeofday() prototype with __BSD_VISIBLE.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r--newlib/libc/include/sys/time.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/time.h b/newlib/libc/include/sys/time.h
index 19325804b..be16497fc 100644
--- a/newlib/libc/include/sys/time.h
+++ b/newlib/libc/include/sys/time.h
@@ -76,7 +76,10 @@ int _EXFUN(_gettimeofday, (struct timeval *__p, void *__tz));
int _EXFUN(gettimeofday, (struct timeval *__restrict __p,
void *__restrict __tz));
+#if __BSD_VISIBLE
int _EXFUN(settimeofday, (const struct timeval *, const struct timezone *));
+int _EXFUN(adjtime, (const struct timeval *, struct timeval *));
+#endif
int _EXFUN(utimes, (const char *__path, const struct timeval *__tvp));
int _EXFUN(getitimer, (int __which, struct itimerval *__value));
int _EXFUN(setitimer, (int __which, const struct itimerval *__restrict __value,