summaryrefslogtreecommitdiffstats
path: root/src/download.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/download.c')
-rw-r--r--src/download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/download.c b/src/download.c
index e8a315d..19af28e 100644
--- a/src/download.c
+++ b/src/download.c
@@ -91,7 +91,7 @@ int download_to_buffer(const char* url, char** buf, uint32_t* length)
static int lastprogress = 0;
-int download_progress(void *clientp, double dltotal, double dlnow, double ultotal, double ulnow)
+static int download_progress(void *clientp, double dltotal, double dlnow, double ultotal, double ulnow)
{
double p = (dlnow / dltotal) * 100;