| commit | 92dd200fe1774443b6a83ba79de932bc988fc3ab | [log] [tgz] |
|---|---|---|
| author | Thomas Klausner <tk@giga.or.at> | Thu Mar 14 21:46:59 2013 +0100 |
| committer | Thomas Klausner <tk@giga.or.at> | Thu Mar 14 21:46:59 2013 +0100 |
| tree | 8a90db2d0a2e8fec28d8fbf08e0c6e09758b7b9e | |
| parent | 44c50350e74380679c039671cd7f696a919c4cdf [diff] [blame] |
Add some const and remove some unnecessary headers. Suggested by Flexelint.
diff --git a/lib/zip_file_get_offset.c b/lib/zip_file_get_offset.c index a19e906..65a011f 100644 --- a/lib/zip_file_get_offset.c +++ b/lib/zip_file_get_offset.c
@@ -51,7 +51,7 @@ */ zip_uint64_t -_zip_file_get_offset(struct zip *za, zip_uint64_t idx, struct zip_error *error) +_zip_file_get_offset(const struct zip *za, zip_uint64_t idx, struct zip_error *error) { zip_uint64_t offset; zip_int32_t size;