aboutsummaryrefslogtreecommitdiff
path: root/gzguts.h
diff options
context:
space:
mode:
Diffstat (limited to 'gzguts.h')
-rw-r--r--gzguts.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/gzguts.h b/gzguts.h
index 57faf37..e23f831 100644
--- a/gzguts.h
+++ b/gzguts.h
@@ -119,8 +119,8 @@
119 119
120/* gz* functions always use library allocation functions */ 120/* gz* functions always use library allocation functions */
121#ifndef STDC 121#ifndef STDC
122 extern voidp malloc OF((uInt size)); 122 extern voidp malloc(uInt size);
123 extern void free OF((voidpf ptr)); 123 extern void free(voidpf ptr);
124#endif 124#endif
125 125
126/* get errno and strerror definition */ 126/* get errno and strerror definition */
@@ -138,10 +138,10 @@
138 138
139/* provide prototypes for these when building zlib without LFS */ 139/* provide prototypes for these when building zlib without LFS */
140#if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0 140#if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0
141 ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); 141 ZEXTERN gzFile ZEXPORT gzopen64(const char *, const char *);
142 ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int)); 142 ZEXTERN z_off64_t ZEXPORT gzseek64(gzFile, z_off64_t, int);
143 ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile)); 143 ZEXTERN z_off64_t ZEXPORT gztell64(gzFile);
144 ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((gzFile)); 144 ZEXTERN z_off64_t ZEXPORT gzoffset64(gzFile);
145#endif 145#endif
146 146
147/* default memLevel */ 147/* default memLevel */
@@ -203,9 +203,9 @@ typedef struct {
203typedef gz_state FAR *gz_statep; 203typedef gz_state FAR *gz_statep;
204 204
205/* shared functions */ 205/* shared functions */
206void ZLIB_INTERNAL gz_error OF((gz_statep, int, const char *)); 206void ZLIB_INTERNAL gz_error(gz_statep, int, const char *);
207#if defined UNDER_CE 207#if defined UNDER_CE
208char ZLIB_INTERNAL *gz_strwinerror OF((DWORD error)); 208char ZLIB_INTERNAL *gz_strwinerror(DWORD error);
209#endif 209#endif
210 210
211/* GT_OFF(x), where x is an unsigned value, is true if x > maximum z_off64_t 211/* GT_OFF(x), where x is an unsigned value, is true if x > maximum z_off64_t
@@ -214,6 +214,6 @@ char ZLIB_INTERNAL *gz_strwinerror OF((DWORD error));
214#ifdef INT_MAX 214#ifdef INT_MAX
215# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > INT_MAX) 215# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > INT_MAX)
216#else 216#else
217unsigned ZLIB_INTERNAL gz_intmax OF((void)); 217unsigned ZLIB_INTERNAL gz_intmax(void);
218# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax()) 218# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax())
219#endif 219#endif