aboutsummaryrefslogtreecommitdiff
path: root/lib/speedcheck.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-01-05 10:11:41 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-01-05 10:11:41 +0000
commit4031104404c6ceed5e57134125dcdb6cac51c564 (patch)
tree18bd035e58e42180cf416d0d94d4726cd44d9d7f /lib/speedcheck.c
parent9f9cac7402f9f134be6f6d5b7fb830e9946a83d8 (diff)
Internal symbols that aren't static are now prefixed with 'Curl_'
Diffstat (limited to 'lib/speedcheck.c')
-rw-r--r--lib/speedcheck.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/speedcheck.c b/lib/speedcheck.c
index 0578ccc22..17e9d90d7 100644
--- a/lib/speedcheck.c
+++ b/lib/speedcheck.c
@@ -33,24 +33,24 @@
#include "sendf.h"
#include "speedcheck.h"
-void speedinit(struct UrlData *data)
+void Curl_speedinit(struct UrlData *data)
{
memset(&data->keeps_speed, 0, sizeof(struct timeval));
}
-CURLcode speedcheck(struct UrlData *data,
- struct timeval now)
+CURLcode Curl_speedcheck(struct UrlData *data,
+ struct timeval now)
{
if((data->progress.current_speed >= 0) &&
data->low_speed_time &&
- (tvlong(data->keeps_speed) != 0) &&
+ (Curl_tvlong(data->keeps_speed) != 0) &&
(data->progress.current_speed < data->low_speed_limit)) {
/* We are now below the "low speed limit". If we are below it
for "low speed time" seconds we consider that enough reason
to abort the download. */
- if( tvdiff(now, data->keeps_speed) > data->low_speed_time) {
+ if( Curl_tvdiff(now, data->keeps_speed) > data->low_speed_time) {
/* we have been this slow for long enough, now die */
failf(data,
"Operation too slow. "