diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:34:55 -0700 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:34:55 -0700 |
| commit | 73014202489f913dbffc91d22089ea8a8920c054 (patch) | |
| tree | 0d86e58ff1445b54be2a04939903f0b6b51f4184 /gzlib.c | |
| parent | a7d70663cf4a7d4013ff7d285da01a164ed9b207 (diff) | |
| download | zlib-1.2.4.5.tar.gz zlib-1.2.4.5.tar.bz2 zlib-1.2.4.5.zip | |
zlib 1.2.4.5v1.2.4.5
Diffstat (limited to 'gzlib.c')
| -rw-r--r-- | gzlib.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -26,7 +26,7 @@ local gzFile gz_open OF((const char *, int, const char *)); | |||
| 26 | 26 | ||
| 27 | The gz_strwinerror function does not change the current setting of | 27 | The gz_strwinerror function does not change the current setting of |
| 28 | GetLastError. */ | 28 | GetLastError. */ |
| 29 | char ZEXPORT *gz_strwinerror (error) | 29 | char ZLIB_INTERNAL *gz_strwinerror (error) |
| 30 | DWORD error; | 30 | DWORD error; |
| 31 | { | 31 | { |
| 32 | static char buf[1024]; | 32 | static char buf[1024]; |
| @@ -482,7 +482,7 @@ void ZEXPORT gzclearerr(file) | |||
| 482 | memory). Simply save the error message as a static string. If there is an | 482 | memory). Simply save the error message as a static string. If there is an |
| 483 | allocation failure constructing the error message, then convert the error to | 483 | allocation failure constructing the error message, then convert the error to |
| 484 | out of memory. */ | 484 | out of memory. */ |
| 485 | void ZEXPORT gz_error(state, err, msg) | 485 | void ZLIB_INTERNAL gz_error(state, err, msg) |
| 486 | gz_statep state; | 486 | gz_statep state; |
| 487 | int err; | 487 | int err; |
| 488 | const char *msg; | 488 | const char *msg; |
| @@ -522,7 +522,7 @@ void ZEXPORT gz_error(state, err, msg) | |||
| 522 | available) -- we need to do this to cover cases where 2's complement not | 522 | available) -- we need to do this to cover cases where 2's complement not |
| 523 | used, since C standard permits 1's complement and sign-bit representations, | 523 | used, since C standard permits 1's complement and sign-bit representations, |
| 524 | otherwise we could just use ((unsigned)-1) >> 1 */ | 524 | otherwise we could just use ((unsigned)-1) >> 1 */ |
| 525 | unsigned ZEXPORT gz_intmax() | 525 | unsigned ZLIB_INTERNAL gz_intmax() |
| 526 | { | 526 | { |
| 527 | unsigned p, q; | 527 | unsigned p, q; |
| 528 | 528 | ||
