diff options
author | thegeorg <thegeorg@yandex-team.com> | 2023-09-06 21:59:05 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2023-09-06 22:15:57 +0300 |
commit | 53f81d0ce8d2103f54b291b25f171ecd00e13d81 (patch) | |
tree | 84e1a98ec06c4570e9dfbd9cf9176d22b3488d95 /contrib/libs/zlib/gzguts.h | |
parent | 645adb92481ca39f3981285fde9b5f41e783e978 (diff) | |
download | ydb-53f81d0ce8d2103f54b291b25f171ecd00e13d81.tar.gz |
Update contrib/libs/zlib to 1.3
Diffstat (limited to 'contrib/libs/zlib/gzguts.h')
-rw-r--r-- | contrib/libs/zlib/gzguts.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/contrib/libs/zlib/gzguts.h b/contrib/libs/zlib/gzguts.h index c2580ecc3b..00bc944958 100644 --- a/contrib/libs/zlib/gzguts.h +++ b/contrib/libs/zlib/gzguts.h @@ -7,9 +7,8 @@ # ifndef _LARGEFILE_SOURCE # define _LARGEFILE_SOURCE 1 # endif -# ifdef _FILE_OFFSET_BITS -# undef _FILE_OFFSET_BITS -# endif +# undef _FILE_OFFSET_BITS +# undef _TIME_BITS #endif #ifdef HAVE_HIDDEN @@ -121,8 +120,8 @@ /* gz* functions always use library allocation functions */ #ifndef STDC - extern voidp malloc OF((uInt size)); - extern void free OF((voidpf ptr)); + extern voidp malloc(uInt size); + extern void free(voidpf ptr); #endif /* get errno and strerror definition */ @@ -140,10 +139,10 @@ /* provide prototypes for these when building zlib without LFS */ #if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0 - ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); - ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int)); - ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile)); - ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((gzFile)); + ZEXTERN gzFile ZEXPORT gzopen64(const char *, const char *); + ZEXTERN z_off64_t ZEXPORT gzseek64(gzFile, z_off64_t, int); + ZEXTERN z_off64_t ZEXPORT gztell64(gzFile); + ZEXTERN z_off64_t ZEXPORT gzoffset64(gzFile); #endif /* default memLevel */ @@ -205,9 +204,9 @@ typedef struct { typedef gz_state FAR *gz_statep; /* shared functions */ -void ZLIB_INTERNAL gz_error OF((gz_statep, int, const char *)); +void ZLIB_INTERNAL gz_error(gz_statep, int, const char *); #if defined UNDER_CE -char ZLIB_INTERNAL *gz_strwinerror OF((DWORD error)); +char ZLIB_INTERNAL *gz_strwinerror(DWORD error); #endif /* GT_OFF(x), where x is an unsigned value, is true if x > maximum z_off64_t @@ -216,6 +215,6 @@ char ZLIB_INTERNAL *gz_strwinerror OF((DWORD error)); #ifdef INT_MAX # define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > INT_MAX) #else -unsigned ZLIB_INTERNAL gz_intmax OF((void)); +unsigned ZLIB_INTERNAL gz_intmax(void); # define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax()) #endif |