summaryrefslogtreecommitdiffstats
path: root/src/geometryn.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/geometryn.c
parent98d6fb5d1f1cd092c8c083f62b3bac59fd86d39b (diff)
Declare as const some static variables
Diffstat (limited to 'src/geometryn.c')
-rw-r--r--src/geometryn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geometryn.c b/src/geometryn.c
index 80b1990..44dc3aa 100644
--- a/src/geometryn.c
+++ b/src/geometryn.c
@@ -55,7 +55,7 @@ int change_geometry_ncurses(disk_t *disk_car)
char response[128];
long int tmp_val=0;
int command;
- static struct MenuItem menuGeometry[]=
+ static const struct MenuItem menuGeometry[]=
{
{ 'c', "Cylinders", "Change cylinder geometry" },
{ 'h', "Heads", "Change head geometry" },