summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-01-07 16:16:24 +0100
committerGravatar Nikias Bassen2014-01-07 16:16:24 +0100
commit07cf0a174857b0ca6c7c1235434dc06be5f24270 (patch)
treeb1d15d64c6df654a0f4977a1b7b4dd49c871209f
parent854679a733d0f43d0b081226af10e7405234935a (diff)
downloadidevicerestore-07cf0a174857b0ca6c7c1235434dc06be5f24270.tar.gz
idevicerestore-07cf0a174857b0ca6c7c1235434dc06be5f24270.tar.bz2
tss: make tss_write_callback static
-rw-r--r--src/tss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tss.c b/src/tss.c
index 0b7ef75..57e38d8 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -607,7 +607,7 @@ int tss_request_add_baseband_tags(plist_t request, plist_t parameters, plist_t o
return 0;
}
-size_t tss_write_callback(char* data, size_t size, size_t nmemb, tss_response* response) {
+static size_t tss_write_callback(char* data, size_t size, size_t nmemb, tss_response* response) {
size_t total = size * nmemb;
if (total != 0) {
response->content = realloc(response->content, response->length + total + 1);