diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-07-12 09:22:38 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-07-12 09:22:38 +0300 |
commit | d0e8db7af4ca8d67f1d2047a966801ffc1165dfa (patch) | |
tree | 274280256b5f21c7abcf951cebd005c8a23bc806 /build | |
parent | 29dbb10c1f30b241486bcb60627283e8a87950ec (diff) | |
download | librpm-tizen-d0e8db7af4ca8d67f1d2047a966801ffc1165dfa.tar.gz librpm-tizen-d0e8db7af4ca8d67f1d2047a966801ffc1165dfa.tar.bz2 librpm-tizen-d0e8db7af4ca8d67f1d2047a966801ffc1165dfa.zip |
parseSpec() cookie should be const, make it so...
Diffstat (limited to 'build')
-rw-r--r-- | build/parseSpec.c | 2 | ||||
-rw-r--r-- | build/rpmbuild.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build/parseSpec.c b/build/parseSpec.c index 5f077cec9..f45af4324 100644 --- a/build/parseSpec.c +++ b/build/parseSpec.c @@ -438,7 +438,7 @@ extern int noLang; /* XXX FIXME: pass as arg */ /*@-boundswrite@*/ int parseSpec(rpmts ts, const char *specFile, const char *rootURL, const char *buildRootURL, int recursing, const char *passPhrase, - char *cookie, int anyarch, int force) + const char *cookie, int anyarch, int force) { rpmParseState parsePart = PART_PREAMBLE; int initialPackage = 1; diff --git a/build/rpmbuild.h b/build/rpmbuild.h index a33d44265..c94ddf1ca 100644 --- a/build/rpmbuild.h +++ b/build/rpmbuild.h @@ -484,7 +484,7 @@ int parseSpec(rpmts ts, const char * specFile, /*@null@*/ const char * buildRootURL, int recursing, /*@null@*/ const char * passPhrase, - /*@null@*/ char * cookie, + /*@null@*/ const char * cookie, int anyarch, int force) /*@globals rpmGlobalMacroContext, h_errno, fileSystem, internalState @*/ /*@modifies ts, rpmGlobalMacroContext, fileSystem, internalState @*/; |