summaryrefslogtreecommitdiff
path: root/include/sys/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/time.h')
-rw-r--r--include/sys/time.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/sys/time.h b/include/sys/time.h
index 8ebba4bae..3b7a106be 100644
--- a/include/sys/time.h
+++ b/include/sys/time.h
@@ -76,8 +76,8 @@ libc_hidden_proto(gettimeofday)
#ifdef __USE_BSD
/* Set the current time of day and timezone information.
This call is restricted to the super-user. */
-extern int settimeofday (__const struct timeval *__tv,
- __const struct timezone *__tz)
+extern int settimeofday (const struct timeval *__tv,
+ const struct timezone *__tz)
__THROW __nonnull ((1));
libc_hidden_proto(settimeofday)
@@ -85,7 +85,7 @@ libc_hidden_proto(settimeofday)
If OLDDELTA is not NULL, it is filled in with the amount
of time adjustment remaining to be done from the last `adjtime' call.
This call is restricted to the super-user. */
-extern int adjtime (__const struct timeval *__delta,
+extern int adjtime (const struct timeval *__delta,
struct timeval *__olddelta) __THROW;
#endif
@@ -132,25 +132,25 @@ extern int getitimer (__itimer_which_t __which,
set *OLD to the old value of timer WHICH.
Returns 0 on success, -1 on errors. */
extern int setitimer (__itimer_which_t __which,
- __const struct itimerval *__restrict __new,
+ 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])
+extern int utimes (const char *__file, const struct timeval __tvp[2])
__THROW __nonnull ((1));
libc_hidden_proto(utimes)
#ifdef __USE_BSD
/* Same as `utimes', but does not follow symbolic links. */
-extern int lutimes (__const char *__file, __const struct timeval __tvp[2])
+extern int lutimes (const char *__file, const struct timeval __tvp[2])
__THROW __nonnull ((1));
#if 0
/* Same as `utimes', but takes an open file descriptor instead of a name. */
-extern int futimes (int __fd, __const struct timeval __tvp[2]) __THROW;
+extern int futimes (int __fd, const struct timeval __tvp[2]) __THROW;
#endif
#endif
@@ -158,8 +158,8 @@ extern int futimes (int __fd, __const struct timeval __tvp[2]) __THROW;
/* Change the access time of FILE relative to FD 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 futimesat (int __fd, __const char *__file,
- __const struct timeval __tvp[2]) __THROW;
+extern int futimesat (int __fd, const char *__file,
+ const struct timeval __tvp[2]) __THROW;
#endif