summaryrefslogtreecommitdiff
path: root/rpmdb/rpmdb.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-10-09 17:44:27 +0000
committerjbj <devnull@localhost>2004-10-09 17:44:27 +0000
commitc15266f569c77cbddc9b72c0fb83befcf00a0ab6 (patch)
tree629d6b3b2894332fa5cd7b8a013410e6297d4fa5 /rpmdb/rpmdb.c
parentb831315e41173e27a4e402c65d318b43558c4fca (diff)
downloadlibrpm-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.c5
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@*/ \
}
/**