diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-09-03 17:10:35 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-09-03 17:10:35 +0000 |
commit | 2e4581e4fba917f1779cd0a010a45698586c190a (patch) | |
tree | eae590620510f87f2ca7063afee31a5ec38df30c /time | |
parent | 5afe6c0236d8be57bc9bf1cba7fb5ab5e832a75e (diff) | |
download | glibc-2e4581e4fba917f1779cd0a010a45698586c190a.zip glibc-2e4581e4fba917f1779cd0a010a45698586c190a.tar.gz glibc-2e4581e4fba917f1779cd0a010a45698586c190a.tar.bz2 |
Update.
2000-09-03 Ulrich Drepper <drepper@redhat.com>
* time/sys/time.h (gettimeofday): Move restrict for tz parameter
to the typedefs of __timezone_ptr_t.
Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
2000-09-02 Jakub Jelinek <jakub@redhat.com>
* nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
the loop.
2000-09-01 H.J. Lu <hjl@gnu.org>
* Makeconfig (built-program-cmd): Don't use the dynamic linker
to run a binary if it is in $(tests-static).
* Rules (binaries-static): Add $(tests-static).
Diffstat (limited to 'time')
-rw-r--r-- | time/sys/time.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/time/sys/time.h b/time/sys/time.h index a753912..12389fb 100644 --- a/time/sys/time.h +++ b/time/sys/time.h @@ -55,9 +55,9 @@ struct timezone }; #if defined __USE_GNU || defined __USE_BSD -typedef struct timezone *__timezone_ptr_t; +typedef struct timezone *__restrict __timezone_ptr_t; #else -typedef void *__timezone_ptr_t; +typedef void *__restrict __timezone_ptr_t; #endif /* Get the current time of day and timezone information, @@ -66,7 +66,7 @@ typedef void *__timezone_ptr_t; NOTE: This form of timezone information is obsolete. Use the functions and variables declared in <time.h> instead. */ extern int gettimeofday (struct timeval *__restrict __tv, - __timezone_ptr_t __restrict __tz) __THROW; + __timezone_ptr_t __tz) __THROW; /* Set the current time of day and timezone information. This call is restricted to the super-user. */ |