Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A couple AC_DEFINE() changes so that we can do without acconfig.h.
[rsync/rsync.git]
/
zlib
/
zutil.h
diff --git
a/zlib/zutil.h
b/zlib/zutil.h
index
fbf2a98
..
76d64e4
100644
(file)
--- a/
zlib/zutil.h
+++ b/
zlib/zutil.h
@@
-1,5
+1,5
@@
/* zutil.h -- internal interface and configuration of the compression library
/* zutil.h -- internal interface and configuration of the compression library
- * Copyright (C) 1995-
1998
Jean-loup Gailly.
+ * Copyright (C) 1995-
2002
Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
* For conditions of distribution and use, see copyright notice in zlib.h
*/
@@
-217,7
+217,7
@@
void zcfree OF((voidpf opaque, voidpf ptr));
#define ZALLOC(strm, items, size) \
(*((strm)->zalloc))((strm)->opaque, (items), (size))
#define ZALLOC(strm, items, size) \
(*((strm)->zalloc))((strm)->opaque, (items), (size))
-#define ZFREE(strm, addr) (
(*((strm)->zfree))((strm)->opaque, (voidpf)(addr)),(addr)=NULL
)
+#define ZFREE(strm, addr) (
*((strm)->zfree))((strm)->opaque, (voidpf)(addr)
)
#define TRY_FREE(s, p) {if (p) ZFREE(s, p);}
#endif /* _Z_UTIL_H */
#define TRY_FREE(s, p) {if (p) ZFREE(s, p);}
#endif /* _Z_UTIL_H */