diff options
author | Yang Tse <yangsita@gmail.com> | 2008-05-10 23:50:55 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-05-10 23:50:55 +0000 |
commit | 60dd765b3dd73bd957bff42a990ba391c843a9ff (patch) | |
tree | e7e53f032adc14c9f5e8a065c8de9f64681bf011 | |
parent | b380dd030f5d0974250f1ea9b871aee02733c2c8 (diff) |
fix syntax error: missing semicolon
-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; |