Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppressing warnings. #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ let package = Package(
.library(name: "PerfectCZlib", targets: ["PerfectCZlib"])
],
targets: [
.target(name: "PerfectCZlib", path: "PerfectCZlib", exclude: ["contrib", "test", "examples"])
.target(name: "PerfectCZlib", path: "PerfectCZlib", exclude: ["contrib"])
]
)
1 change: 1 addition & 0 deletions PerfectCZlib/adler32.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
/* adler32.c -- compute the Adler-32 checksum of a data stream
* Copyright (C) 1995-2011, 2016 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
Expand Down
1 change: 1 addition & 0 deletions PerfectCZlib/compress.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
/* compress.c -- compress a memory buffer
* Copyright (C) 1995-2005, 2014, 2016 Jean-loup Gailly, Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
Expand Down
1 change: 1 addition & 0 deletions PerfectCZlib/crc32.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
/* crc32.c -- compute the CRC-32 of a data stream
* Copyright (C) 1995-2006, 2010, 2011, 2012, 2016 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
Expand Down
1 change: 1 addition & 0 deletions PerfectCZlib/deflate.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
/* deflate.c -- compress data using the deflation algorithm
* Copyright (C) 1995-2016 Jean-loup Gailly and Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
Expand Down
1 change: 1 addition & 0 deletions PerfectCZlib/gzclose.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
/* gzclose.c -- zlib gzclose() function
* Copyright (C) 2004, 2010 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
Expand Down
1 change: 1 addition & 0 deletions PerfectCZlib/gzlib.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
/* gzlib.c -- zlib functions common to reading and writing gzip files
* Copyright (C) 2004, 2010, 2011, 2012, 2013, 2016 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
Expand Down
1 change: 1 addition & 0 deletions PerfectCZlib/gzread.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
/* gzread.c -- zlib functions for reading gzip files
* Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013, 2016 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
Expand Down
1 change: 1 addition & 0 deletions PerfectCZlib/gzwrite.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
/* gzwrite.c -- zlib functions for writing gzip files
* Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013, 2016 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
Expand Down
1 change: 1 addition & 0 deletions PerfectCZlib/infback.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
/* infback.c -- inflate using a call-back interface
* Copyright (C) 1995-2016 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
Expand Down
1 change: 1 addition & 0 deletions PerfectCZlib/inffast.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
/* inffast.c -- fast decoding
* Copyright (C) 1995-2008, 2010, 2013, 2016 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
Expand Down
1 change: 1 addition & 0 deletions PerfectCZlib/inflate.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
/* inflate.c -- zlib decompression
* Copyright (C) 1995-2016 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
Expand Down
1 change: 1 addition & 0 deletions PerfectCZlib/inftrees.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
/* inftrees.c -- generate Huffman trees for efficient decoding
* Copyright (C) 1995-2016 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
Expand Down
1 change: 1 addition & 0 deletions PerfectCZlib/trees.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
/* trees.c -- output deflated data using Huffman coding
* Copyright (C) 1995-2016 Jean-loup Gailly
* detect_data_type() function provided freely by Cosmin Truta, 2006
Expand Down
1 change: 1 addition & 0 deletions PerfectCZlib/uncompr.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
/* uncompr.c -- decompress a memory buffer
* Copyright (C) 1995-2003, 2010, 2014, 2016 Jean-loup Gailly, Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
Expand Down
1 change: 1 addition & 0 deletions PerfectCZlib/zutil.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
/* zutil.c -- target dependent utility functions for the compression library
* Copyright (C) 1995-2005, 2010, 2011, 2012, 2016 Jean-loup Gailly
* For conditions of distribution and use, see copyright notice in zlib.h
Expand Down