From a784e502472fb3a1afa4d01a47c66b52d23e00f6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 7 Jan 2012 23:57:22 -0500 Subject: Remove pre-ISO C support No more __const. --- include/sys/time.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/sys/time.h') diff --git a/include/sys/time.h b/include/sys/time.h index ec4055276e..a5ec500cde 100644 --- a/include/sys/time.h +++ b/include/sys/time.h @@ -7,20 +7,20 @@ extern int __gettimeofday (struct timeval *__tv, extern int __gettimeofday_internal (struct timeval *__tv, struct timezone *__tz) attribute_hidden; -extern int __settimeofday (__const struct timeval *__tv, - __const struct timezone *__tz) +extern int __settimeofday (const struct timeval *__tv, + const struct timezone *__tz) attribute_hidden; -extern int __adjtime (__const struct timeval *__delta, +extern int __adjtime (const struct timeval *__delta, struct timeval *__olddelta); extern int __getitimer (enum __itimer_which __which, struct itimerval *__value); extern int __setitimer (enum __itimer_which __which, - __const struct itimerval *__restrict __new, + const struct itimerval *__restrict __new, struct itimerval *__restrict __old) attribute_hidden; -extern int __utimes (__const char *__file, const struct timeval __tvp[2]) +extern int __utimes (const char *__file, const struct timeval __tvp[2]) attribute_hidden; -extern int __futimes (int fd, __const struct timeval tvp[2]) attribute_hidden; +extern int __futimes (int fd, const struct timeval tvp[2]) attribute_hidden; #ifndef NOT_IN_libc # define __gettimeofday(tv, tz) INTUSE(__gettimeofday) (tv, tz) -- cgit 1.4.1