diff options
author | steve <steve@FreeBSD.org> | 1997-08-07 21:33:47 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1997-08-07 21:33:47 +0000 |
commit | 792ebc1ba3981adf13023821a2f7c78a8ef90e4e (patch) | |
tree | 7992cbdae017dc974bc3478782222e4aede15b88 /bin/ed/main.c | |
parent | 548d1c00562f600dffcd4e78769f98102770f319 (diff) | |
download | FreeBSD-src-792ebc1ba3981adf13023821a2f7c78a8ef90e4e.zip FreeBSD-src-792ebc1ba3981adf13023821a2f7c78a8ef90e4e.tar.gz |
sccsid -> rcsid and fix some minor nits.
Diffstat (limited to 'bin/ed/main.c')
-rw-r--r-- | bin/ed/main.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/bin/ed/main.c b/bin/ed/main.c index d17ab62..abeff54 100644 --- a/bin/ed/main.c +++ b/bin/ed/main.c @@ -24,8 +24,6 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $Id: main.c,v 1.9 1997/02/22 14:03:17 peter Exp $ */ #ifndef lint @@ -35,7 +33,12 @@ static char * const copyright = #endif /* not lint */ #ifndef lint +#if 0 static char * const rcsid = "@(#)main.c,v 1.1 1994/02/01 00:34:42 alm Exp"; +#else +static char * const rcsid = + "$Id: main.c,v 1.10 1997/03/28 15:24:19 imp Exp $"; +#endif #endif /* not lint */ /* @@ -57,9 +60,9 @@ static char * const rcsid = "@(#)main.c,v 1.1 1994/02/01 00:34:42 alm Exp"; #include <sys/ioctl.h> #include <sys/wait.h> #include <ctype.h> -#include <setjmp.h> -#include <pwd.h> #include <locale.h> +#include <pwd.h> +#include <setjmp.h> #include "ed.h" @@ -100,10 +103,6 @@ char *dps = "*"; /* default command-line prompt */ char *usage = "usage: %s [-] [-sx] [-p string] [name]\n"; -extern char errmsg[]; -extern int optind; -extern char *optarg; - /* ed: line editor */ int main(argc, argv) |