summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-05-11 08:02:27 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-05-11 08:02:27 (EDT)
commit15dbbeab56f0e7e350a916f601a95b93caf768e0 (patch)
tree7df9eb5aa88c4b551c2ec65c3bf0dc0fe33677cc /src
parente607c970a422a91420d50201a5ac41a131b4de46 (diff)
gzip: Add pure attribute
Diffstat (limited to 'src')
-rw-r--r--src/gzip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gzip.h b/src/gzip.h
index 7283e3f..28aa9d5 100644
--- a/src/gzip.h
+++ b/src/gzip.h
@@ -66,7 +66,7 @@ int
opkg_opk_gzip_write(struct opkg_opk_gzip *gzip, void *record, size_t size);
size_t
-opkg_opk_gzip_written(struct opkg_opk_gzip *gzip);
+opkg_opk_gzip_written(struct opkg_opk_gzip *gzip) __attribute__((__pure__));
int
opkg_opk_gzip_finish_write(struct opkg_opk_gzip *gzip);