diff options
-rw-r--r-- | ares/ares__timeval.c | 2 | ||||
-rw-r--r-- | lib/timeval.c | 2 | ||||
-rw-r--r-- | src/curlutil.c | 2 | ||||
-rw-r--r-- | tests/libtest/testutil.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/ares/ares__timeval.c b/ares/ares__timeval.c index 0d8bbfa65..2fbf1688c 100644 --- a/ares/ares__timeval.c +++ b/ares/ares__timeval.c @@ -46,7 +46,7 @@ struct timeval ares__tvnow(void) */ struct timeval now; struct timespec tsnow; - (void)clock_gettime(CLOCK_MONOTONIC, &tsnow) + (void)clock_gettime(CLOCK_MONOTONIC, &tsnow); now.tv_sec = tsnow.tv_sec; now.tv_usec = tsnow.tv_nsec / 1000; return now; diff --git a/lib/timeval.c b/lib/timeval.c index b36633384..0bedfbe81 100644 --- a/lib/timeval.c +++ b/lib/timeval.c @@ -52,7 +52,7 @@ struct timeval curlx_tvnow(void) */ struct timeval now; struct timespec tsnow; - (void)clock_gettime(CLOCK_MONOTONIC, &tsnow) + (void)clock_gettime(CLOCK_MONOTONIC, &tsnow); now.tv_sec = tsnow.tv_sec; now.tv_usec = tsnow.tv_nsec / 1000; return now; diff --git a/src/curlutil.c b/src/curlutil.c index 12a7d2e06..a687a9a44 100644 --- a/src/curlutil.c +++ b/src/curlutil.c @@ -54,7 +54,7 @@ struct timeval cutil_tvnow(void) */ struct timeval now; struct timespec tsnow; - (void)clock_gettime(CLOCK_MONOTONIC, &tsnow) + (void)clock_gettime(CLOCK_MONOTONIC, &tsnow); now.tv_sec = tsnow.tv_sec; now.tv_usec = tsnow.tv_nsec / 1000; return now; diff --git a/tests/libtest/testutil.c b/tests/libtest/testutil.c index 8ed2b2f08..df90cdccb 100644 --- a/tests/libtest/testutil.c +++ b/tests/libtest/testutil.c @@ -54,7 +54,7 @@ struct timeval tutil_tvnow(void) */ struct timeval now; struct timespec tsnow; - (void)clock_gettime(CLOCK_MONOTONIC, &tsnow) + (void)clock_gettime(CLOCK_MONOTONIC, &tsnow); now.tv_sec = tsnow.tv_sec; now.tv_usec = tsnow.tv_nsec / 1000; return now; |