summaryrefslogtreecommitdiff
path: root/build/parsePreamble.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-15 18:33:28 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-15 18:33:28 +0200
commitaa61b715e6639d6900ca66facb62d5f099dd11d4 (patch)
tree97673890c79ed3576329a4b9df9d92229723e1dd /build/parsePreamble.c
parente8ffcb26b5cb60d4ad6130b0010c40ffd8d83b81 (diff)
downloadlibrpm-tizen-aa61b715e6639d6900ca66facb62d5f099dd11d4.tar.gz
librpm-tizen-aa61b715e6639d6900ca66facb62d5f099dd11d4.tar.bz2
librpm-tizen-aa61b715e6639d6900ca66facb62d5f099dd11d4.zip
Make bunch of build internal code take const parameters
Diffstat (limited to 'build/parsePreamble.c')
-rw-r--r--build/parsePreamble.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/parsePreamble.c b/build/parsePreamble.c
index 37855f845..fe44970fb 100644
--- a/build/parsePreamble.c
+++ b/build/parsePreamble.c
@@ -50,7 +50,7 @@ static rpm_tag_t requiredTags[] = {
/**
*/
-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;
@@ -68,7 +68,7 @@ static void addOrAppendListEntry(Header h, rpm_tag_t tag, char * line)
/**
*/
-static int parseSimplePart(char *line,char **name,int *flag)
+static int parseSimplePart(const char *line, char **name, int *flag)
{
char *tok;
char linebuf[BUFSIZ];