parseSpec() cookie should be const, make it so...
This commit is contained in:
parent
29dbb10c1f
commit
d0e8db7af4
|
@ -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;
|
||||
|
|
|
@ -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 @*/;
|
||||
|
|
Loading…
Reference in New Issue