diff options
author | Nikias Bassen | 2014-01-07 16:12:08 +0100 |
---|---|---|
committer | Nikias Bassen | 2014-01-07 16:12:08 +0100 |
commit | 854679a733d0f43d0b081226af10e7405234935a (patch) | |
tree | 3a95f420eb8cdef6348750078debc7c7e1083d1c /src/download.c | |
parent | 687f58d6d9289e70f0e9c561a39cd4a7ccb4c660 (diff) | |
download | idevicerestore-854679a733d0f43d0b081226af10e7405234935a.tar.gz idevicerestore-854679a733d0f43d0b081226af10e7405234935a.tar.bz2 |
download: make download_progress function static
Diffstat (limited to 'src/download.c')
-rw-r--r-- | src/download.c | 2 |
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; |