From eaa7b17bca60632bc703f97c169ee4af2a519a2a Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Tue, 30 Jan 2024 21:12:06 -0700 Subject: * Changes in the source code of Alpine to define internal prototypes of all functions so that they follow modern C standards. This lead to the splitting of the gf_io_t type into two types gf_i_t and gf_o_t with different internal prototypes. More details in the file pith/detach.c. This work was initiated based on a report by Holger Hoffstätte. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pith/detach.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pith/detach.h') diff --git a/pith/detach.h b/pith/detach.h index 96daa6dc..13681209 100644 --- a/pith/detach.h +++ b/pith/detach.h @@ -41,7 +41,7 @@ typedef struct _fetch_read { allocsize; /* allocated size of chunk block */ long flags, /* flags to use fetching block */ fetchtime; /* usecs avg per chunk fetch */ - gf_io_t readc; + gf_i_t readc; STORE_S *cache; } FETCH_READC_S; @@ -62,8 +62,8 @@ extern FETCH_READC_S *g_fr_desc; #define DT_ALLIMAGES (long) 0x100000 /* exported prototypes */ -char *detach_raw(MAILSTREAM *, long, char *, gf_io_t, int); -char *detach(MAILSTREAM *, long, char *, long, long *, gf_io_t, FILTLIST_S *, long); +char *detach_raw(MAILSTREAM *, long, char *, gf_o_t, int); +char *detach(MAILSTREAM *, long, char *, long, long *, gf_o_t, FILTLIST_S *, long); int valid_filter_command(char **); void fetch_readc_init(FETCH_READC_S *, MAILSTREAM *, long, char *, unsigned long, long, long); -- cgit v1.2.3-54-g00ecf