diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-10 02:52:19 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-10 02:52:19 +0000 |
commit | a71f48891f22c5556d55a50ddcec9343fc5a3af1 (patch) | |
tree | 45ca2d70e7a570de52267d55554875ef7003939b /editors/sed.c | |
parent | 29c6ccf781963337140791f16197b54699775f07 (diff) | |
download | busybox-w32-a71f48891f22c5556d55a50ddcec9343fc5a3af1.tar.gz busybox-w32-a71f48891f22c5556d55a50ddcec9343fc5a3af1.tar.bz2 busybox-w32-a71f48891f22c5556d55a50ddcec9343fc5a3af1.zip |
bb_makedev: fix for glibc 2.3.2
sed: fix C++ style declaration
git-svn-id: svn://busybox.net/trunk/busybox@16831 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'editors/sed.c')
-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; |