From f3c69b66279e228b6a852e127193c953fdd27951 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 31 May 2022 01:56:00 -0700 Subject: gzio: fix multiple definition of gzio_stream_s. Failed on Cygwin. * gzio.c (gzio_stream_s): Variable defined here. * gzio.h (gzio_stream_s): Turn to declaration with extern. --- gzio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gzio.h') diff --git a/gzio.h b/gzio.h index 2f9cf164..4b5e9ee9 100644 --- a/gzio.h +++ b/gzio.h @@ -26,7 +26,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ -val gzio_stream_s; +extern val gzio_stream_s; void gzio_init(void); gzFile w_gzopen_mode(const wchar_t *wname, const wchar_t *wmode, const struct stdio_mode m, val self); -- cgit v1.2.3