From f0d7da79dea23443fd86cf3d51b392b342b4c2e5 Mon Sep 17 00:00:00 2001 From: Przemyslaw Skibinski Date: Tue, 29 Nov 2016 18:02:34 +0100 Subject: [PATCH] updated headers in gz* files --- zlibWrapper/gzclose.c | 3 +++ zlibWrapper/gzguts.h | 4 ++++ zlibWrapper/gzlib.c | 3 +++ zlibWrapper/gzread.c | 3 +++ zlibWrapper/gzwrite.c | 3 +++ 5 files changed, 16 insertions(+) diff --git a/zlibWrapper/gzclose.c b/zlibWrapper/gzclose.c index b75124762..b5b7480c3 100644 --- a/zlibWrapper/gzclose.c +++ b/zlibWrapper/gzclose.c @@ -1,3 +1,6 @@ +/* gzclose.c contains minimal changes required to be compiled with zlibWrapper: + * - gz_statep was converted to union to work with -Wstrict-aliasing=1 */ + /* gzclose.c -- zlib gzclose() function * Copyright (C) 2004, 2010 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h diff --git a/zlibWrapper/gzguts.h b/zlibWrapper/gzguts.h index c4c74f1a1..3d8d7e76a 100644 --- a/zlibWrapper/gzguts.h +++ b/zlibWrapper/gzguts.h @@ -1,3 +1,7 @@ +/* gzguts.h contains minimal changes required to be compiled with zlibWrapper: + * - #include "zlib.h" was changed to #include "zstd_zlibwrapper.h" + * - gz_statep was converted to union to work with -Wstrict-aliasing=1 */ + /* gzguts.h -- zlib internal header definitions for gz* operations * Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h diff --git a/zlibWrapper/gzlib.c b/zlibWrapper/gzlib.c index e811313b5..172041df5 100644 --- a/zlibWrapper/gzlib.c +++ b/zlibWrapper/gzlib.c @@ -1,3 +1,6 @@ +/* gzlib.c contains minimal changes required to be compiled with zlibWrapper: + * - gz_statep was converted to union to work with -Wstrict-aliasing=1 */ + /* gzlib.c -- zlib functions common to reading and writing gzip files * Copyright (C) 2004, 2010, 2011, 2012, 2013 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h diff --git a/zlibWrapper/gzread.c b/zlibWrapper/gzread.c index 5bc0f6ff9..ad33ebc62 100644 --- a/zlibWrapper/gzread.c +++ b/zlibWrapper/gzread.c @@ -1,3 +1,6 @@ +/* gzread.c contains minimal changes required to be compiled with zlibWrapper: + * - gz_statep was converted to union to work with -Wstrict-aliasing=1 */ + /* gzread.c -- zlib functions for reading gzip files * Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h diff --git a/zlibWrapper/gzwrite.c b/zlibWrapper/gzwrite.c index 7d4a614f2..d1478d3c1 100644 --- a/zlibWrapper/gzwrite.c +++ b/zlibWrapper/gzwrite.c @@ -1,3 +1,6 @@ +/* gzwrite.c contains minimal changes required to be compiled with zlibWrapper: + * - gz_statep was converted to union to work with -Wstrict-aliasing=1 */ + /* gzwrite.c -- zlib functions for writing gzip files * Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h