From 98cbe360d947b59e7a5eda068581f4cfeb4b99b3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 21 Aug 2000 06:49:52 +0000 Subject: Update. * misc/sys/cdefs.h: Define __restrict_arr. * include/sys/time.h: Add restrict where required by AGd4. * inet/arpa/inet.h: Likewise. * io/sys/stat.h: Likewise. * io/sys/statvfs.h: Likewise. * misc/search.h: Likewise. * misc/sys/select.h: Likewise. * posix/glob.h: Likewise. * posix/regex.h: Likewise. * posix/spawn.h: Likewise. * posix/unistd.h: Likewise. * rt/aio.h: Likewise. * signal/signal.h: Likewise. * socket/sys/socket.h: Likewise. * stdlib/ucontext.h: Likewise. * streams/stropts.h: Likewise. * string/string.h: Likewise. * time/time.h: Likewise. * time/sys/time.h: Likewise. * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam and posix_spawnattr_setscheparam. * libio/stdio.h: Make cuserid prototype again available for all XPG versions. --- time/time.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'time/time.h') diff --git a/time/time.h b/time/time.h index 47e4d8c5be..9178d5f2da 100644 --- a/time/time.h +++ b/time/time.h @@ -182,7 +182,8 @@ extern size_t strftime (char *__restrict __s, size_t __maxsize, # ifdef __USE_XOPEN /* Parse S according to FORMAT and store binary time information in TP. The return value is a pointer to the first unparsed character in S. */ -extern char *strptime (__const char *__s, __const char *__fmt, struct tm *__tp) +extern char *strptime (__const char *__restrict __s, + __const char *__restrict __fmt, struct tm *__tp) __THROW; # endif @@ -304,16 +305,17 @@ extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __THROW; /* Create new per-process timer using CLOCK_ID. */ -extern int timer_create (clockid_t __clock_id, struct sigevent *__evp, - timer_t *__timerid) __THROW; +extern int timer_create (clockid_t __clock_id, + struct sigevent *__restrict __evp, + timer_t *__restrict __timerid) __THROW; /* Delete timer TIMERID. */ extern int timer_delete (timer_t __timerid) __THROW; /* Set timer TIMERID to VALUE, returning old value in OVLAUE. */ extern int timer_settime (timer_t __timerid, int __flags, - __const struct itimerspec *__value, - struct itimerspec *__ovalue) __THROW; + __const struct itimerspec *__restrict __value, + struct itimerspec *__restrict __ovalue) __THROW; /* Get current value of timer TIMERID and store it in VLAUE. */ extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) -- cgit 1.4.1