diff options
author | jbj <devnull@localhost> | 2004-10-09 17:44:27 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2004-10-09 17:44:27 +0000 |
commit | c15266f569c77cbddc9b72c0fb83befcf00a0ab6 (patch) | |
tree | 629d6b3b2894332fa5cd7b8a013410e6297d4fa5 /rpmdb/rpmdb.c | |
parent | b831315e41173e27a4e402c65d318b43558c4fca (diff) | |
download | librpm-tizen-c15266f569c77cbddc9b72c0fb83befcf00a0ab6.tar.gz librpm-tizen-c15266f569c77cbddc9b72c0fb83befcf00a0ab6.tar.bz2 librpm-tizen-c15266f569c77cbddc9b72c0fb83befcf00a0ab6.zip |
Splint fiddles.
CVS patchset: 7436
CVS date: 2004/10/09 17:44:27
Diffstat (limited to 'rpmdb/rpmdb.c')
-rw-r--r-- | rpmdb/rpmdb.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rpmdb/rpmdb.c b/rpmdb/rpmdb.c index 4e15d0370..c2dad543f 100644 --- a/rpmdb/rpmdb.c +++ b/rpmdb/rpmdb.c @@ -14,7 +14,7 @@ /*@=noparams@*/ #if defined(__LCLINT__) /*@-declundef -exportheader -redecl @*/ /* LCL: missing annotation */ -extern int fnmatch (const char *pattern, const char *string, int flags) +extern int fnmatch (const char *__pattern, const char *__name, int __flags) /*@*/; /*@=declundef =exportheader =redecl @*/ #endif @@ -65,6 +65,7 @@ int dbiTagsMax = 0; /* We use this to comunicate back to the the rpm transaction * what their install instance was on a rpmdbAdd(). */ +/*@unchecked@*/ unsigned int myinstall_instance = 0; /* Bit mask macros. */ @@ -375,9 +376,11 @@ union _dbswap { }; #define _DBSWAP(_a) \ +/*@-bounds@*/ \ { unsigned char _b, *_c = (_a).uc; \ _b = _c[3]; _c[3] = _c[0]; _c[0] = _b; \ _b = _c[2]; _c[2] = _c[1]; _c[1] = _b; \ +/*@=bounds@*/ \ } /** |