summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--genimage.c2
-rw-r--r--genimage.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/genimage.c b/genimage.c
index 530a12d..a3994ee 100644
--- a/genimage.c
+++ b/genimage.c
@@ -465,7 +465,7 @@ static int collect_mountpoints(void)
return 0;
}
-const char *mountpath(struct image *image)
+const char *mountpath(const struct image *image)
{
struct mountpoint *mp;
diff --git a/genimage.h b/genimage.h
index 59c03ba..58995fd 100644
--- a/genimage.h
+++ b/genimage.h
@@ -22,7 +22,7 @@ const char *imagepath(void);
const char *inputpath(void);
const char *rootpath(void);
const char *tmppath(void);
-const char *mountpath(struct image *);
+const char *mountpath(const struct image *);
struct flash_type;
struct mountpoint {