[PATCH 29/42] edit: make locally used variable static

Sascha Hauer s.hauer at pengutronix.de
Tue Oct 19 08:55:17 EDT 2010


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 commands/edit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/commands/edit.c b/commands/edit.c
index 7da6816..c2ab877 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)
 {
-- 
1.7.2.3




More information about the barebox mailing list