mirror of
https://github.com/curl/curl.git
synced 2026-07-22 23:27:15 +03:00
fix syntax error: missing semicolon
This commit is contained in:
parent
b380dd030f
commit
60dd765b3d
4 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue