diff options
author | jbj <devnull@localhost> | 1999-04-14 12:35:08 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-04-14 12:35:08 +0000 |
commit | 89e28f78e89e3f07cc4bbc61f5bf0d5d5ee1ad5a (patch) | |
tree | 26d178260fbe1063fa858759defc76083152d8a6 /build/files.c | |
parent | 9c6e100351d70b9d3724be36858baf72d6e23b72 (diff) | |
download | librpm-tizen-89e28f78e89e3f07cc4bbc61f5bf0d5d5ee1ad5a.tar.gz librpm-tizen-89e28f78e89e3f07cc4bbc61f5bf0d5d5ee1ad5a.tar.bz2 librpm-tizen-89e28f78e89e3f07cc4bbc61f5bf0d5d5ee1ad5a.zip |
Make silly headerGetEntry consistent throughout.
CVS patchset: 2995
CVS date: 1999/04/14 12:35:08
Diffstat (limited to 'build/files.c')
-rw-r--r-- | build/files.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/files.c b/build/files.c index d47b5873b..b29073464 100644 --- a/build/files.c +++ b/build/files.c @@ -682,9 +682,9 @@ static int parseForSimple(Spec spec, Package pkg, char *buf, { const char *ddir, *name, *version; headerGetEntry(pkg->header, RPMTAG_NAME, NULL, - (void *) &name, NULL); + (void **) &name, NULL); headerGetEntry(pkg->header, RPMTAG_VERSION, NULL, - (void *) &version, NULL); + (void **) &version, NULL); ddir = rpmGetPath("%{_docdir}/", name, "-", version, NULL); strcpy(buf, ddir); @@ -1109,7 +1109,7 @@ static int processPackageFiles(Spec spec, Package pkg, fl.buildRoot = rpmGetPath(spec->buildRoot, NULL); if (headerGetEntry(pkg->header, RPMTAG_DEFAULTPREFIX, - NULL, (void *)&fl.prefix, NULL)) { + NULL, (void **)&fl.prefix, NULL)) { fl.prefix = strdup(fl.prefix); } else { fl.prefix = NULL; |