fix syntax error: missing semicolon
This commit is contained in:
@@ -46,7 +46,7 @@ struct timeval ares__tvnow(void)
|
|||||||
*/
|
*/
|
||||||
struct timeval now;
|
struct timeval now;
|
||||||
struct timespec tsnow;
|
struct timespec tsnow;
|
||||||
(void)clock_gettime(CLOCK_MONOTONIC, &tsnow)
|
(void)clock_gettime(CLOCK_MONOTONIC, &tsnow);
|
||||||
now.tv_sec = tsnow.tv_sec;
|
now.tv_sec = tsnow.tv_sec;
|
||||||
now.tv_usec = tsnow.tv_nsec / 1000;
|
now.tv_usec = tsnow.tv_nsec / 1000;
|
||||||
return now;
|
return now;
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ struct timeval curlx_tvnow(void)
|
|||||||
*/
|
*/
|
||||||
struct timeval now;
|
struct timeval now;
|
||||||
struct timespec tsnow;
|
struct timespec tsnow;
|
||||||
(void)clock_gettime(CLOCK_MONOTONIC, &tsnow)
|
(void)clock_gettime(CLOCK_MONOTONIC, &tsnow);
|
||||||
now.tv_sec = tsnow.tv_sec;
|
now.tv_sec = tsnow.tv_sec;
|
||||||
now.tv_usec = tsnow.tv_nsec / 1000;
|
now.tv_usec = tsnow.tv_nsec / 1000;
|
||||||
return now;
|
return now;
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ struct timeval cutil_tvnow(void)
|
|||||||
*/
|
*/
|
||||||
struct timeval now;
|
struct timeval now;
|
||||||
struct timespec tsnow;
|
struct timespec tsnow;
|
||||||
(void)clock_gettime(CLOCK_MONOTONIC, &tsnow)
|
(void)clock_gettime(CLOCK_MONOTONIC, &tsnow);
|
||||||
now.tv_sec = tsnow.tv_sec;
|
now.tv_sec = tsnow.tv_sec;
|
||||||
now.tv_usec = tsnow.tv_nsec / 1000;
|
now.tv_usec = tsnow.tv_nsec / 1000;
|
||||||
return now;
|
return now;
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ struct timeval tutil_tvnow(void)
|
|||||||
*/
|
*/
|
||||||
struct timeval now;
|
struct timeval now;
|
||||||
struct timespec tsnow;
|
struct timespec tsnow;
|
||||||
(void)clock_gettime(CLOCK_MONOTONIC, &tsnow)
|
(void)clock_gettime(CLOCK_MONOTONIC, &tsnow);
|
||||||
now.tv_sec = tsnow.tv_sec;
|
now.tv_sec = tsnow.tv_sec;
|
||||||
now.tv_usec = tsnow.tv_nsec / 1000;
|
now.tv_usec = tsnow.tv_nsec / 1000;
|
||||||
return now;
|
return now;
|
||||||
|
|||||||
Reference in New Issue
Block a user