diff options
author | Eric Andersen | 2000-07-25 18:01:20 +0000 |
---|---|---|
committer | Eric Andersen | 2000-07-25 18:01:20 +0000 |
commit | b040d4f3da1545225b9a58301deb29acee6aa7f3 (patch) | |
tree | f029b6d39fc4619a8369094efd4c558b10f3d927 /sed.c | |
parent | b9ea02c04b91773e6e5a116313b360f3499a2d4e (diff) | |
download | busybox-b040d4f3da1545225b9a58301deb29acee6aa7f3.zip busybox-b040d4f3da1545225b9a58301deb29acee6aa7f3.tar.gz |
Use BB_FEATURE_CLEAN_UP where appropriate
-Erik
Diffstat (limited to 'sed.c')
-rw-r--r-- | sed.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -92,7 +92,7 @@ static int ncmds = 0; /* number of sed commands */ /*static char *cur_file = NULL;*/ /* file currently being processed XXX: do I need this? */ -#if 0 +#ifdef BB_FEATURE_CLEAN_UP static void destroy_cmd_strs() { if (sed_cmds == NULL) @@ -663,7 +663,7 @@ extern int sed_main(int argc, char **argv) { int opt; -#if 0 +#ifdef BB_FEATURE_CLEAN_UP /* destroy command strings on exit */ if (atexit(destroy_cmd_strs) == -1) { perror("sed"); |