From 15dbbeab56f0e7e350a916f601a95b93caf768e0 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 11 May 2023 08:02:27 -0400 Subject: gzip: Add pure attribute --- 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); -- cgit v0.9.1