* @param fl package file tree walk data
* @return RPMRC_OK on success
*/
-static rpmRC parseForVerify(char * buf, FileList fl)
+static rpmRC parseForVerify(const char * buf, FileList fl)
{
char *p, *pe, *q;
const char *name;
* @param fl package file tree walk data
* @return RPMRC_OK on success
*/
-static rpmRC parseForDev(char * buf, FileList fl)
+static rpmRC parseForDev(const char * buf, FileList fl)
{
const char * name;
const char * errstr = NULL;
* @param fl package file tree walk data
* @return 0 on success
*/
-static int parseForAttr(char * buf, FileList fl)
+static int parseForAttr(const char * buf, FileList fl)
{
const char *name;
char *p, *pe, *q;
* @param fl package file tree walk data
* @return RPMRC_OK on success
*/
-static rpmRC parseForConfig(char * buf, FileList fl)
+static rpmRC parseForConfig(const char * buf, FileList fl)
{
char *p, *pe, *q;
const char *name;
* @param fl package file tree walk data
* @return RPMRC_OK on success
*/
-static int parseForLang(char * buf, FileList fl)
+static int parseForLang(const char * buf, FileList fl)
{
char *p, *pe, *q;
const char *name;
/**
*/
-static void addOrAppendListEntry(Header h, rpm_tag_t tag, char * line)
+static void addOrAppendListEntry(Header h, rpm_tag_t tag, const char * line)
{
int xx;
int argc;
/**
*/
-static int parseSimplePart(char *line,char **name,int *flag)
+static int parseSimplePart(const char *line, char **name, int *flag)
{
char *tok;
char linebuf[BUFSIZ];
* @param line current line from spec file
* @return RPMRC_OK on success
*/
-static int doSetupMacro(rpmSpec spec, char *line)
+static int doSetupMacro(rpmSpec spec, const char *line)
{
char buf[BUFSIZ];
StringBuf before;
* @param line current line from spec file
* @return RPMRC_OK on success
*/
-static rpmRC doPatchMacro(rpmSpec spec, char *line)
+static rpmRC doPatchMacro(rpmSpec spec, const char *line)
{
char *opt_b;
int opt_P, opt_p, opt_R, opt_E, opt_F;