summaryrefslogtreecommitdiffstats
path: root/src/geometryn.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-17 16:52:42 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-17 16:52:42 +0200
commit4a47332941a59bc9ea4f0fe92d35e2c85f9409e1 (patch)
tree74e80f9c367a6946e0894625c1ba910151024082 /src/geometryn.c
parent15526c4410bdcb758bae3fe54011e416a28d03fe (diff)
change_geometry_ncurses(): make some variables more local
Diffstat (limited to 'src/geometryn.c')
-rw-r--r--src/geometryn.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/geometryn.c b/src/geometryn.c
index 9b98f0d..80b1990 100644
--- a/src/geometryn.c
+++ b/src/geometryn.c
@@ -46,15 +46,15 @@
int change_geometry_ncurses(disk_t *disk_car)
{
int done = 0;
- char def[128];
- char response[128];
- long int tmp_val=0;
- int command;
int default_option=4;
int cyl_modified=0;
int geo_modified=0;
while (done==0)
{
+ char def[128];
+ char response[128];
+ long int tmp_val=0;
+ int command;
static struct MenuItem menuGeometry[]=
{
{ 'c', "Cylinders", "Change cylinder geometry" },