From 97acd4ee3c87c58876acf274839172566621cb66 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 15 Apr 2023 18:06:43 -0400 Subject: main: Cast function type --- (limited to 'src/gzip.h') diff --git a/src/gzip.h b/src/gzip.h index 73c8340..7c81463 100644 --- a/src/gzip.h +++ b/src/gzip.h @@ -22,8 +22,10 @@ struct opkg_opk_gzip; +typedef int (opkg_opk_gzip_read_func)(void *, char **, size_t *); + struct opkg_opk_gzip * -opkg_opk_gzip_init(int (*read)(void *, char **, size_t *), void *user_data); +opkg_opk_gzip_init(opkg_opk_gzip_read_func *read, void *user_data); int opkg_opk_gzip_read(struct opkg_opk_gzip *gzip, void *record); -- cgit v0.9.1