summaryrefslogtreecommitdiffstats
path: root/src/partgptn.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/partgptn.c
parent98d6fb5d1f1cd092c8c083f62b3bac59fd86d39b (diff)
Declare as const some static variables
Diffstat (limited to 'src/partgptn.c')
-rw-r--r--src/partgptn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partgptn.c b/src/partgptn.c
index c0faf3a..dbe320a 100644
--- a/src/partgptn.c
+++ b/src/partgptn.c
@@ -62,7 +62,7 @@ list_part_t *add_partition_gpt_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" },