diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-06-19 16:12:04 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-06-19 16:12:04 +0300 |
commit | 866771356c0c4515b8ee84831584c3a27e5ce88f (patch) | |
tree | 2c04e5bb439bab8d6b11a21344f9fb054b863eb0 /lib | |
parent | a4d336f0536154450d54ff7d350cc85a85511e96 (diff) | |
download | rpm-866771356c0c4515b8ee84831584c3a27e5ce88f.tar.gz rpm-866771356c0c4515b8ee84831584c3a27e5ce88f.tar.bz2 rpm-866771356c0c4515b8ee84831584c3a27e5ce88f.zip |
Rename headerCheckPayload() -> headerCheckPayloadFormat()
to remove any potential confusion as to what it really does.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/depends.c | 2 | ||||
-rw-r--r-- | lib/package.c | 2 | ||||
-rw-r--r-- | lib/rpmlib.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/depends.c b/lib/depends.c index 1b629421f..79562671b 100644 --- a/lib/depends.c +++ b/lib/depends.c @@ -159,7 +159,7 @@ int rpmtsAddInstallElement(rpmts ts, Header h, pkgKey = RPMAL_NOMATCH; /* Check for supported payload format if it's a package */ - if (key && headerCheckPayload(h) != RPMRC_OK) { + if (key && headerCheckPayloadFormat(h) != RPMRC_OK) { ec = 1; goto exit; } diff --git a/lib/package.c b/lib/package.c index e6e089e61..59841eb4c 100644 --- a/lib/package.c +++ b/lib/package.c @@ -1072,7 +1072,7 @@ exit: * @param h header to check * @return RPMRC_OK if supported, RPMRC_FAIL otherwise */ -rpmRC headerCheckPayload(Header h) { +rpmRC headerCheckPayloadFormat(Header h) { rpmRC rc = RPMRC_FAIL; int xx; const char *payloadfmt = NULL; diff --git a/lib/rpmlib.h b/lib/rpmlib.h index 6fb6c583a..ade8120a0 100644 --- a/lib/rpmlib.h +++ b/lib/rpmlib.h @@ -898,7 +898,7 @@ int headerVerifyInfo(int il, int dl, const void * pev, void * iv, int negate) * @param h header to check * @return RPMRC_OK if supported, RPMRC_FAIL otherwise */ -rpmRC headerCheckPayload(Header h); +rpmRC headerCheckPayloadFormat(Header h); /** * Check header consistency, performing headerGetEntry() the hard way. |