summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-01-07 16:12:08 +0100
committerGravatar Nikias Bassen2014-01-07 16:12:08 +0100
commit854679a733d0f43d0b081226af10e7405234935a (patch)
tree3a95f420eb8cdef6348750078debc7c7e1083d1c /src
parent687f58d6d9289e70f0e9c561a39cd4a7ccb4c660 (diff)
downloadidevicerestore-854679a733d0f43d0b081226af10e7405234935a.tar.gz
idevicerestore-854679a733d0f43d0b081226af10e7405234935a.tar.bz2
download: make download_progress function static
Diffstat (limited to 'src')
-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;