Skip to content

Commit

Permalink
Use zutil.h which already includes zlib headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz authored and Dead2 committed Mar 18, 2022
1 parent d30a24d commit 92aa5d1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
5 changes: 0 additions & 5 deletions arch/s390/dfltcc_common.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
#ifndef DFLTCC_COMMON_H
#define DFLTCC_COMMON_H

#ifdef ZLIB_COMPAT
#include "zlib.h"
#else
#include "zlib-ng.h"
#endif
#include "zutil.h"

void Z_INTERNAL *dfltcc_alloc_state(PREFIX3(streamp) strm, uInt items, uInt size);
Expand Down
5 changes: 0 additions & 5 deletions compress.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

#include "zbuild.h"
#include "zutil.h"
#if defined(ZLIB_COMPAT)
# include "zlib.h"
#else
# include "zlib-ng.h"
#endif

/* ===========================================================================
* Architecture-specific hooks.
Expand Down
6 changes: 1 addition & 5 deletions uncompr.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
*/

#include "zbuild.h"
#ifdef ZLIB_COMPAT
# include "zlib.h"
#else
# include "zlib-ng.h"
#endif
#include "zutil.h"

/* ===========================================================================
Decompresses the source buffer into the destination buffer. *sourceLen is
Expand Down

0 comments on commit 92aa5d1

Please sign in to comment.