diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-10 02:52:19 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-10 02:52:19 +0000 |
commit | 2ea630f9a50b439181aedb0a5d837d319deed9f5 (patch) | |
tree | 45ca2d70e7a570de52267d55554875ef7003939b /editors | |
parent | 2f8f71b20dbce1328a5175bb75ae15564f7e9489 (diff) | |
download | busybox-w32-2ea630f9a50b439181aedb0a5d837d319deed9f5.tar.gz busybox-w32-2ea630f9a50b439181aedb0a5d837d319deed9f5.tar.bz2 busybox-w32-2ea630f9a50b439181aedb0a5d837d319deed9f5.zip |
bb_makedev: fix for glibc 2.3.2
sed: fix C++ style declaration
Diffstat (limited to 'editors')
-rw-r--r-- | editors/sed.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) | |||
796 | char *pattern_space, *next_line; | 796 | char *pattern_space, *next_line; |
797 | int linenum = 0, prev_last_char = 0; | 797 | int linenum = 0, prev_last_char = 0; |
798 | int last_char, next_last_char = 0; | 798 | int last_char, next_last_char = 0; |
799 | sed_cmd_t *sed_cmd; | ||
800 | int substituted; | ||
799 | 801 | ||
800 | /* Prime the pump */ | 802 | /* Prime the pump */ |
801 | next_line = get_next_line(&next_last_char); | 803 | next_line = get_next_line(&next_last_char); |
802 | 804 | ||
803 | /* go through every line in each file */ | 805 | /* go through every line in each file */ |
804 | again: | 806 | again: |
805 | 807 | substituted = 0; | |
806 | sed_cmd_t *sed_cmd; | ||
807 | int substituted = 0; | ||
808 | 808 | ||
809 | /* Advance to next line. Stop if out of lines. */ | 809 | /* Advance to next line. Stop if out of lines. */ |
810 | pattern_space = next_line; | 810 | pattern_space = next_line; |