parseSpec() cookie should be const, make it so...

This commit is contained in:
Panu Matilainen 2007-07-12 09:22:38 +03:00
parent 29dbb10c1f
commit d0e8db7af4
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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 @*/;