aboutsummaryrefslogtreecommitdiffstats
path: root/com32
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2014-01-24 19:23:05 -0500
committerGene Cumm <gene.cumm@gmail.com>2014-01-25 12:11:36 -0500
commitdfca8e0548c1597afd9b505b41ac26e9e52b7494 (patch)
tree5a88a8705ffee49234b9a51e3cf012691f3975e5 /com32
parent4dc109040df38bad0e819efe406dec83f29bec0a (diff)
downloadsyslinux-dfca8e0548c1597afd9b505b41ac26e9e52b7494.tar.gz
syslinux-dfca8e0548c1597afd9b505b41ac26e9e52b7494.tar.xz
syslinux-dfca8e0548c1597afd9b505b41ac26e9e52b7494.zip
Add const qualifiers
Some functions are ignoring the const qualifier. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Diffstat (limited to 'com32')
-rw-r--r--com32/include/syslinux/movebits.h2
-rw-r--r--com32/lib/syslinux/zonelist.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/com32/include/syslinux/movebits.h b/com32/include/syslinux/movebits.h
index f35418f9..4a4ce9ef 100644
--- a/com32/include/syslinux/movebits.h
+++ b/com32/include/syslinux/movebits.h
@@ -83,7 +83,7 @@ enum syslinux_memmap_types syslinux_memmap_type(struct syslinux_memmap *list,
int syslinux_memmap_largest(struct syslinux_memmap *list,
enum syslinux_memmap_types type,
addr_t * start, addr_t * len);
-int syslinux_memmap_highest(struct syslinux_memmap *list,
+int syslinux_memmap_highest(const struct syslinux_memmap *list,
enum syslinux_memmap_types types,
addr_t *start, addr_t len,
addr_t ceiling, addr_t align);
diff --git a/com32/lib/syslinux/zonelist.c b/com32/lib/syslinux/zonelist.c
index 337eb867..dbc874c5 100644
--- a/com32/lib/syslinux/zonelist.c
+++ b/com32/lib/syslinux/zonelist.c
@@ -227,7 +227,7 @@ int syslinux_memmap_largest(struct syslinux_memmap *list,
*
* Returns -1 on failure.
*/
-int syslinux_memmap_highest(struct syslinux_memmap *list,
+int syslinux_memmap_highest(const struct syslinux_memmap *list,
enum syslinux_memmap_types type,
addr_t *start, addr_t len,
addr_t ceiling, addr_t align)