aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-05-10 23:50:55 +0000
committerYang Tse <yangsita@gmail.com>2008-05-10 23:50:55 +0000
commit60dd765b3dd73bd957bff42a990ba391c843a9ff (patch)
treee7e53f032adc14c9f5e8a065c8de9f64681bf011
parentb380dd030f5d0974250f1ea9b871aee02733c2c8 (diff)
fix syntax error: missing semicolon
-rw-r--r--ares/ares__timeval.c2
-rw-r--r--lib/timeval.c2
-rw-r--r--src/curlutil.c2
-rw-r--r--tests/libtest/testutil.c2
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;