diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-02-02 14:57:14 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-02-02 14:57:14 +0000 |
commit | f6bf9e5958a6367ba195154ae07794a032b764a2 (patch) | |
tree | 7bee997587bb4c85acad49cd1bdff8768289b282 /nscd/nscd_helper.c | |
parent | 4a44ce79c6dee9a77207466142a36caa9fa54141 (diff) | |
download | glibc-f6bf9e5958a6367ba195154ae07794a032b764a2.tar.gz glibc-f6bf9e5958a6367ba195154ae07794a032b764a2.tar.xz glibc-f6bf9e5958a6367ba195154ae07794a032b764a2.zip |
* nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of
gettimeofday. 2007-02-02 Jakub Jelinek <jakub@redhat.com> * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of gettimeofday.
Diffstat (limited to 'nscd/nscd_helper.c')
-rw-r--r-- | nscd/nscd_helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/nscd_helper.c b/nscd/nscd_helper.c index 394b2f86e6..b94bc02077 100644 --- a/nscd/nscd_helper.c +++ b/nscd/nscd_helper.c @@ -147,7 +147,7 @@ open_socket (request_type type, const char *key, size_t keylen) int to; if (first_try) { - gettimeofday (&tvend, NULL); + (void) __gettimeofday (&tvend, NULL); tvend.tv_sec += 5; to = 5 * 1000; first_try = false; @@ -155,7 +155,7 @@ open_socket (request_type type, const char *key, size_t keylen) else { struct timeval now; - gettimeofday (&now, NULL); + (void) __gettimeofday (&now, NULL); to = ((tvend.tv_sec - now.tv_sec) * 1000 + (tvend.tv_usec - now.tv_usec) / 1000); } |