summaryrefslogtreecommitdiffstats
path: root/src/tdisksel.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/tdisksel.c
parent98d6fb5d1f1cd092c8c083f62b3bac59fd86d39b (diff)
Declare as const some static variables
Diffstat (limited to 'src/tdisksel.c')
-rw-r--r--src/tdisksel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tdisksel.c b/src/tdisksel.c
index f2c11dd..55f7f1f 100644
--- a/src/tdisksel.c
+++ b/src/tdisksel.c
@@ -65,7 +65,7 @@ static int testdisk_disk_selection_ncurses(int verbose,int dump_ind, const list_
int use_sudo=0;
const list_disk_t *element_disk;
const list_disk_t *current_disk;
- static struct MenuItem menuMain[]=
+ static const struct MenuItem menuMain[]=
{
{ 'P', "Previous", ""},
{ 'N', "Next", "" },