summaryrefslogtreecommitdiffstats
path: root/include/sys/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/time.h')
-rw-r--r--include/sys/time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/time.h b/include/sys/time.h
index 66fb9e021..46b9b5667 100644
--- a/include/sys/time.h
+++ b/include/sys/time.h
@@ -71,6 +71,7 @@ typedef void *__restrict __timezone_ptr_t;
Use the functions and variables declared in <time.h> instead. */
extern int gettimeofday (struct timeval *__restrict __tv,
__timezone_ptr_t __tz) __THROW __nonnull ((1));
+libc_hidden_proto(gettimeofday)
#ifdef __USE_BSD
/* Set the current time of day and timezone information.
@@ -78,6 +79,7 @@ extern int gettimeofday (struct timeval *__restrict __tv,
extern int settimeofday (__const struct timeval *__tv,
__const struct timezone *__tz)
__THROW __nonnull ((1));
+libc_hidden_proto(settimeofday)
/* Adjust the current time of day by the amount in DELTA.
If OLDDELTA is not NULL, it is filled in with the amount
@@ -132,12 +134,14 @@ extern int getitimer (__itimer_which_t __which,
extern int setitimer (__itimer_which_t __which,
__const struct itimerval *__restrict __new,
struct itimerval *__restrict __old) __THROW;
+libc_hidden_proto(setitimer)
/* Change the access time of FILE to TVP[0] and the modification time of
FILE to TVP[1]. If TVP is a null pointer, use the current time instead.
Returns 0 on success, -1 on errors. */
extern int utimes (__const char *__file, __const struct timeval __tvp[2])
__THROW __nonnull ((1));
+libc_hidden_proto(utimes)
#if 0 /*def __USE_BSD*/
/* Same as `utimes', but does not follow symbolic links. */