aboutsummaryrefslogtreecommitdiff
path: root/include/gzip.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-10-08 16:02:55 -0400
committerTom Rini <trini@konsulko.com>2021-10-08 16:02:55 -0400
commit94e922c76a0e1fcdead3359e340f53fd0709a963 (patch)
tree667372191c3a70cd9343180c8d7f6273afbb9ab9 /include/gzip.h
parent0caf37e973015255a3c5b9439ddb8c6aef1b5001 (diff)
parent4cb35b7a1fdf060a0839b71f6dbf8d08b1ae62e0 (diff)
Merge branch '2021-10-08-image-cleanups'
- A large number of image file and tooling related cleanups
Diffstat (limited to 'include/gzip.h')
-rw-r--r--include/gzip.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/gzip.h b/include/gzip.h
index 783acbb60d..cb4db3d70f 100644
--- a/include/gzip.h
+++ b/include/gzip.h
@@ -54,11 +54,11 @@ int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp,
* gzwrite_progress_finish called at end of loop to
* indicate success (retcode=0) or failure
*/
-void gzwrite_progress_init(u64 expected_size);
+void gzwrite_progress_init(ulong expected_size);
-void gzwrite_progress(int iteration, u64 bytes_written, u64 total_bytes);
+void gzwrite_progress(int iteration, ulong bytes_written, ulong total_bytes);
-void gzwrite_progress_finish(int retcode, u64 totalwritten, u64 totalsize,
+void gzwrite_progress_finish(int retcode, ulong totalwritten, ulong totalsize,
u32 expected_crc, u32 calculated_crc);
/**
@@ -74,7 +74,7 @@ void gzwrite_progress_finish(int retcode, u64 totalwritten, u64 totalsize,
* @return 0 if OK, -1 on error
*/
int gzwrite(unsigned char *src, int len, struct blk_desc *dev, ulong szwritebuf,
- u64 startoffs, u64 szexpected);
+ ulong startoffs, ulong szexpected);
/**
* gzip()- Compress data into a buffer using the gzip algorithm