diff options
author | jbj <devnull@localhost> | 2002-10-07 09:05:06 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-10-07 09:05:06 +0000 |
commit | 868c27220d5ad94408829c36eff950fb46e898d1 (patch) | |
tree | 499fb178acb8a84b794c3a75c58d88f8a2157e5f /zlib/zutil.h | |
parent | 8e71e2cc310504228384d777607cb8fd9f6b76b7 (diff) | |
download | librpm-tizen-868c27220d5ad94408829c36eff950fb46e898d1.tar.gz librpm-tizen-868c27220d5ad94408829c36eff950fb46e898d1.tar.bz2 librpm-tizen-868c27220d5ad94408829c36eff950fb46e898d1.zip |
lclint annotations.
CVS patchset: 5756
CVS date: 2002/10/07 09:05:06
Diffstat (limited to 'zlib/zutil.h')
-rw-r--r-- | zlib/zutil.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/zlib/zutil.h b/zlib/zutil.h index 718ebc15b..00740fb76 100644 --- a/zlib/zutil.h +++ b/zlib/zutil.h @@ -8,7 +8,7 @@ subject to change. Applications should only use zlib.h. */ -/* @(#) $Id$ */ +/* @(#) $Id: zutil.h,v 1.7 2002/03/17 15:46:23 jbj Exp $ */ #ifndef _Z_UTIL_H #define _Z_UTIL_H @@ -181,9 +181,12 @@ extern const char *z_errmsg[10]; /* indexed by 2-zlib_error */ # define zmemzero(dest, len) memset(dest, 0, len) # endif #else - extern void zmemcpy OF((Bytef* dest, const Bytef* source, uInt len)); - extern int zmemcmp OF((const Bytef* s1, const Bytef* s2, uInt len)); - extern void zmemzero OF((Bytef* dest, uInt len)); + extern void zmemcpy OF((Bytef* dest, const Bytef* source, uInt len)) + /*@modifies dest @*/; + extern int zmemcmp OF((const Bytef* s1, const Bytef* s2, uInt len)) + /*@*/; + extern void zmemzero OF((Bytef* dest, uInt len)) + /*@modifies dest @*/; #endif /* Diagnostic functions */ @@ -208,9 +211,12 @@ extern const char *z_errmsg[10]; /* indexed by 2-zlib_error */ typedef uLong (ZEXPORT *check_func) OF((uLong check, const Bytef *buf, - uInt len)); -voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size)); -void zcfree OF((voidpf opaque, voidpf ptr)); + uInt len)) + /*@*/; +voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size)) + /*@*/; +void zcfree OF((voidpf opaque, /*@only@*/ voidpf ptr)) + /*@modifies ptr @*/; #define ZALLOC(strm, items, size) \ (*((strm)->zalloc))((strm)->opaque, (items), (size)) |