summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-25 18:01:20 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-25 18:01:20 +0000
commitb040d4f3da1545225b9a58301deb29acee6aa7f3 (patch)
treef029b6d39fc4619a8369094efd4c558b10f3d927 /editors
parentb9ea02c04b91773e6e5a116313b360f3499a2d4e (diff)
downloadbusybox-w32-b040d4f3da1545225b9a58301deb29acee6aa7f3.tar.gz
busybox-w32-b040d4f3da1545225b9a58301deb29acee6aa7f3.tar.bz2
busybox-w32-b040d4f3da1545225b9a58301deb29acee6aa7f3.zip
Use BB_FEATURE_CLEAN_UP where appropriate
-Erik
Diffstat (limited to 'editors')
-rw-r--r--editors/sed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/sed.c b/editors/sed.c
index b54a9bb9c..69a5e0324 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -92,7 +92,7 @@ static int ncmds = 0; /* number of sed commands */
92 92
93/*static char *cur_file = NULL;*/ /* file currently being processed XXX: do I need this? */ 93/*static char *cur_file = NULL;*/ /* file currently being processed XXX: do I need this? */
94 94
95#if 0 95#ifdef BB_FEATURE_CLEAN_UP
96static void destroy_cmd_strs() 96static void destroy_cmd_strs()
97{ 97{
98 if (sed_cmds == NULL) 98 if (sed_cmds == NULL)
@@ -663,7 +663,7 @@ extern int sed_main(int argc, char **argv)
663{ 663{
664 int opt; 664 int opt;
665 665
666#if 0 666#ifdef BB_FEATURE_CLEAN_UP
667 /* destroy command strings on exit */ 667 /* destroy command strings on exit */
668 if (atexit(destroy_cmd_strs) == -1) { 668 if (atexit(destroy_cmd_strs) == -1) {
669 perror("sed"); 669 perror("sed");