summaryrefslogtreecommitdiffstats
path: root/src/partmacn.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-22 08:08:24 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-22 08:08:24 +0200
commit32962a658cbb35c6333e7b63582f3a09dbf911e2 (patch)
tree165a336c20023dfe3be0068a3c6894aa20e5b217 /src/partmacn.c
parent98d6fb5d1f1cd092c8c083f62b3bac59fd86d39b (diff)
Declare as const some static variables
Diffstat (limited to 'src/partmacn.c')
-rw-r--r--src/partmacn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partmacn.c b/src/partmacn.c
index 8a7fa56..31e7fad 100644
--- a/src/partmacn.c
+++ b/src/partmacn.c
@@ -75,7 +75,7 @@ list_part_t *add_partition_mac_ncurses(disk_t *disk_car, list_part_t *list_part)
while (done==FALSE)
{
int command;
- static struct MenuItem menuGeometry[]=
+ static const struct MenuItem menuGeometry[]=
{
{ 's', "Sector", "Change starting sector" },
{ 'S', "Sector", "Change ending sector" },