From 2ea630f9a50b439181aedb0a5d837d319deed9f5 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 10 Dec 2006 02:52:19 +0000 Subject: bb_makedev: fix for glibc 2.3.2 sed: fix C++ style declaration --- editors/sed.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editors') diff --git a/editors/sed.c b/editors/sed.c index 877d1c420..ac3d8d463 100644 --- a/editors/sed.c +++ b/editors/sed.c @@ -796,15 +796,15 @@ static void process_files(void) char *pattern_space, *next_line; int linenum = 0, prev_last_char = 0; int last_char, next_last_char = 0; + sed_cmd_t *sed_cmd; + int substituted; /* Prime the pump */ next_line = get_next_line(&next_last_char); /* go through every line in each file */ again: - - sed_cmd_t *sed_cmd; - int substituted = 0; + substituted = 0; /* Advance to next line. Stop if out of lines. */ pattern_space = next_line; -- cgit v1.2.3