From 60dd765b3dd73bd957bff42a990ba391c843a9ff Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 10 May 2008 23:50:55 +0000 Subject: [PATCH] fix syntax error: missing semicolon --- ares/ares__timeval.c | 2 +- lib/timeval.c | 2 +- src/curlutil.c | 2 +- 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; -- 2.40.0