diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-15 09:33:32 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-21 22:21:25 +0200 |
commit | c6f611ddf5810a4165b395303e49c79242a61bb2 (patch) | |
tree | 45b3619f5be81be2912d6a0277db11f6ed4591e3 /commands/edit.c | |
parent | 4b753a306c995d7b3bdd53f7a56e554a5b5c2fe0 (diff) | |
download | barebox-c6f611ddf5810a4165b395303e49c79242a61bb2.tar.gz barebox-c6f611ddf5810a4165b395303e49c79242a61bb2.tar.xz |
edit: make locally used variable static
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/edit.c')
-rw-r--r-- | commands/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/edit.c b/commands/edit.c index 7da681643b..c2ab8775a9 100644 --- a/commands/edit.c +++ b/commands/edit.c @@ -58,7 +58,7 @@ static int textx = 0; /* position in text */ static struct line *curline; /* line where the cursor is */ static struct line *scrline; /* the first line on screen */ -int scrcol = 0; /* the first column on screen */ +static int scrcol = 0; /* the first column on screen */ static void pos(int x, int y) { |