summaryrefslogtreecommitdiffstats
path: root/src/fat_adv.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-06-01 18:06:35 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-06-01 18:06:35 +0200
commit65dbe3d4baf4d486bb8119ec197a20697ba4ca28 (patch)
tree1ed5c06affe799b8c4d8efd188a5b4197c6b9dcf /src/fat_adv.c
parent8ab840414394e1e8454413485c578d75fd8ab68f (diff)
constify more variables
Diffstat (limited to 'src/fat_adv.c')
-rw-r--r--src/fat_adv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fat_adv.c b/src/fat_adv.c
index 069ba32..96f6e87 100644
--- a/src/fat_adv.c
+++ b/src/fat_adv.c
@@ -937,7 +937,7 @@ static void menu_write_fat_boot_sector(disk_t *disk_car, partition_t *partition,
{
const struct fat_boot_sector *fat_header=(const struct fat_boot_sector *)newboot;
#ifdef HAVE_NCURSES
- struct MenuItem menuSaveBoot[]=
+ const struct MenuItem menuSaveBoot[]=
{
{ 'D', "Dump", "Dump sector" },
{ 'L', "List", "List directories and files" },
@@ -1816,7 +1816,7 @@ static upart_type_t select_fat_info(const info_offset_t *info_offset, const unsi
{
unsigned int i;
unsigned long int fat2_location=*reserved+*fat_length;
- struct MenuItem menuSelectFAT[]=
+ const struct MenuItem menuSelectFAT[]=
{
{ 'P', "Previous",""},
{ 'N', "Next","" },