diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-26 18:17:42 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-26 18:17:42 +0000 |
commit | 666da5e2c6edec979966d16771818b32dcfafe04 (patch) | |
tree | c23e6a01fc51d8419c1562f70836148c705ac46a /editors/sed.c | |
parent | 270c17c0e66ffe9fe0e47e891a583b5c6f8512ef (diff) | |
download | busybox-w32-666da5e2c6edec979966d16771818b32dcfafe04.tar.gz busybox-w32-666da5e2c6edec979966d16771818b32dcfafe04.tar.bz2 busybox-w32-666da5e2c6edec979966d16771818b32dcfafe04.zip |
merge post-1.3.0 fixes
Diffstat (limited to 'editors/sed.c')
-rw-r--r-- | editors/sed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c index 95ced1ceb..23d73faa9 100644 --- a/editors/sed.c +++ b/editors/sed.c | |||
@@ -120,7 +120,6 @@ struct sed_globals { | |||
120 | } bbg; | 120 | } bbg; |
121 | 121 | ||
122 | 122 | ||
123 | void sed_free_and_close_stuff(void); | ||
124 | #if ENABLE_FEATURE_CLEAN_UP | 123 | #if ENABLE_FEATURE_CLEAN_UP |
125 | static void sed_free_and_close_stuff(void) | 124 | static void sed_free_and_close_stuff(void) |
126 | { | 125 | { |
@@ -156,6 +155,8 @@ static void sed_free_and_close_stuff(void) | |||
156 | while (bbg.current_input_file < bbg.input_file_count) | 155 | while (bbg.current_input_file < bbg.input_file_count) |
157 | fclose(bbg.input_file_list[bbg.current_input_file++]); | 156 | fclose(bbg.input_file_list[bbg.current_input_file++]); |
158 | } | 157 | } |
158 | #else | ||
159 | void sed_free_and_close_stuff(void); | ||
159 | #endif | 160 | #endif |
160 | 161 | ||
161 | /* If something bad happens during -i operation, delete temp file */ | 162 | /* If something bad happens during -i operation, delete temp file */ |