diff options
author | jbj <devnull@localhost> | 1999-10-20 21:40:10 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-10-20 21:40:10 +0000 |
commit | 6defa683eb5eab3411a1bd827106ccf45edfd7f3 (patch) | |
tree | 34b4a53c737c1b235769b326ba660f527e47e40c /lib/depends.c | |
parent | 574cad11f200498c52daf162d71b22c928926534 (diff) | |
download | librpm-tizen-6defa683eb5eab3411a1bd827106ccf45edfd7f3.tar.gz librpm-tizen-6defa683eb5eab3411a1bd827106ccf45edfd7f3.tar.bz2 librpm-tizen-6defa683eb5eab3411a1bd827106ccf45edfd7f3.zip |
lclint annotations.
CVS patchset: 3387
CVS date: 1999/10/20 21:40:10
Diffstat (limited to 'lib/depends.c')
-rw-r--r-- | lib/depends.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/depends.c b/lib/depends.c index 78ca0040b..5be3a4e62 100644 --- a/lib/depends.c +++ b/lib/depends.c @@ -731,8 +731,10 @@ void rpmdepFreeConflicts(struct rpmDependencyConflict * conflicts, int free(conflicts); } -static struct availablePackage * alFileSatisfiesDepend( - struct availableList * al, const char * keyType, const char *fileName) { +/*@dependent@*/ /*@null@*/ static struct availablePackage * +alFileSatisfiesDepend(struct availableList * al, const char * keyType, + const char *fileName) +{ int i; char * file = xstrdup(fileName); char * chptr = strrchr(file, '/'); @@ -756,7 +758,7 @@ static struct availablePackage * alFileSatisfiesDepend( if (!strcmp(dirMatch->files[i].basename, base)) { if (keyType) rpmMessage(RPMMESS_DEBUG, _("%s: %s satisfied by added file " - "list.\n"), keyType, file); + "list.\n"), keyType, fileName); return dirMatch->files[i].package; } } @@ -827,7 +829,7 @@ static /*@exposed@*/ struct availablePackage * alSatisfiesDepend( static int unsatisfiedDepend(rpmTransactionSet rpmdep, const char *keyType, const char *keyDepend, const char * keyName, const char * keyEVR, int keyFlags, - /*@out@*/struct availablePackage ** suggestion) + /*@out@*/ struct availablePackage ** suggestion) { dbiIndexSet matches; int rc = 0; /* assume dependency is satisfied */ |