aboutsummaryrefslogtreecommitdiff
path: root/editors/sed.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-10-24 05:00:29 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-10-24 05:00:29 +0000
commit1e2799601614452a40df7862e6ca180ecb08c04d (patch)
tree153a573095afac8d8d0ea857759ecabd77fb28b7 /editors/sed.c
parent47f91d1f7fc06cf27e2a6c3c2ada99226ba50cb9 (diff)
downloadbusybox-w32-1e2799601614452a40df7862e6ca180ecb08c04d.tar.gz
busybox-w32-1e2799601614452a40df7862e6ca180ecb08c04d.tar.bz2
busybox-w32-1e2799601614452a40df7862e6ca180ecb08c04d.zip
Major rework of the directory structure and the entire build system.
-Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'editors/sed.c')
-rw-r--r--editors/sed.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 709fb13a8..10cab7d56 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -1,8 +1,8 @@
1/* 1/*
2 * sed.c - very minimalist version of sed 2 * sed.c - very minimalist version of sed
3 * 3 *
4 * Copyright (C) 1999,2000,2001 by Lineo, inc. 4 * Copyright (C) 1999,2000,2001 by Lineo, inc. and Mark Whitley
5 * Written by Mark Whitley <markw@lineo.com>, <markw@codepoet.org> 5 * Copyright (C) 1999,2000,2001 by Mark Whitley <markw@codepoet.org>
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify 7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
@@ -104,7 +104,7 @@ static int ncmds = 0; /* number of sed commands */
104 104
105/*static char *cur_file = NULL;*/ /* file currently being processed XXX: do I need this? */ 105/*static char *cur_file = NULL;*/ /* file currently being processed XXX: do I need this? */
106 106
107#ifdef BB_FEATURE_CLEAN_UP 107#ifdef CONFIG_FEATURE_CLEAN_UP
108static void destroy_cmd_strs() 108static void destroy_cmd_strs()
109{ 109{
110 if (sed_cmds == NULL) 110 if (sed_cmds == NULL)
@@ -791,7 +791,7 @@ extern int sed_main(int argc, char **argv)
791{ 791{
792 int opt; 792 int opt;
793 793
794#ifdef BB_FEATURE_CLEAN_UP 794#ifdef CONFIG_FEATURE_CLEAN_UP
795 /* destroy command strings on exit */ 795 /* destroy command strings on exit */
796 if (atexit(destroy_cmd_strs) == -1) 796 if (atexit(destroy_cmd_strs) == -1)
797 perror_msg_and_die("atexit"); 797 perror_msg_and_die("atexit");