diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-01-05 10:11:41 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-01-05 10:11:41 +0000 |
commit | 4031104404c6ceed5e57134125dcdb6cac51c564 (patch) | |
tree | 18bd035e58e42180cf416d0d94d4726cd44d9d7f /lib/timeval.c | |
parent | 9f9cac7402f9f134be6f6d5b7fb830e9946a83d8 (diff) | |
download | curl-4031104404c6ceed5e57134125dcdb6cac51c564.tar.gz |
Internal symbols that aren't static are now prefixed with 'Curl_'
Diffstat (limited to 'lib/timeval.c')
-rw-r--r-- | lib/timeval.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/timeval.c b/lib/timeval.c index 9e5182883..74bf10695 100644 --- a/lib/timeval.c +++ b/lib/timeval.c @@ -53,7 +53,7 @@ gettimeofday (struct timeval *tp, void *nothing) #endif #endif -struct timeval tvnow () +struct timeval Curl_tvnow () { struct timeval now; #ifdef HAVE_GETTIMEOFDAY @@ -65,12 +65,12 @@ struct timeval tvnow () return now; } -double tvdiff (struct timeval t1, struct timeval t2) +double Curl_tvdiff (struct timeval t1, struct timeval t2) { return (double)(t1.tv_sec - t2.tv_sec) + ((t1.tv_usec-t2.tv_usec)/1000000.0); } -long tvlong (struct timeval t1) +long Curl_tvlong (struct timeval t1) { return t1.tv_sec; } |