diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-21 06:49:52 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-21 06:49:52 +0000 |
commit | 98cbe360d947b59e7a5eda068581f4cfeb4b99b3 (patch) | |
tree | cea10cb9c398de637781b09112ca635518cf3944 /time/time.h | |
parent | 4aebaa6bd906383aca1b7a5e1251b0d1652f9f7c (diff) | |
download | glibc-98cbe360d947b59e7a5eda068581f4cfeb4b99b3.tar.gz glibc-98cbe360d947b59e7a5eda068581f4cfeb4b99b3.tar.xz glibc-98cbe360d947b59e7a5eda068581f4cfeb4b99b3.zip |
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.
Diffstat (limited to 'time/time.h')
-rw-r--r-- | time/time.h | 12 |
1 files changed, 7 insertions, 5 deletions
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) |