From 43f555732483fd1b60a70968b71d3a01ef7d446a Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 22 Jan 2000 20:25:09 +0000 Subject: remove extra externs not needed because of unistd.h (rest of tree will be done later.. contact me if you want to help) --- bin/ed/main.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'bin/ed') diff --git a/bin/ed/main.c b/bin/ed/main.c index 1e4fdc5ebb1..b033ed71ee3 100644 --- a/bin/ed/main.c +++ b/bin/ed/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.16 1999/12/05 02:37:55 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.17 2000/01/22 20:24:49 deraadt Exp $ */ /* $NetBSD: main.c,v 1.3 1995/03/21 09:04:44 cgd Exp $ */ /* main.c: This file contains the main control and user-interface routines @@ -39,7 +39,7 @@ char *copyright = #if 0 static char *rcsid = "@(#)main.c,v 1.1 1994/02/01 00:34:42 alm Exp"; #else -static char rcsid[] = "$OpenBSD: main.c,v 1.16 1999/12/05 02:37:55 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.17 2000/01/22 20:24:49 deraadt Exp $"; #endif #endif /* not lint */ @@ -64,6 +64,7 @@ static char rcsid[] = "$OpenBSD: main.c,v 1.16 1999/12/05 02:37:55 deraadt Exp $ #include #include #include +#include #include #include "ed.h" @@ -106,9 +107,6 @@ char *dps = "*"; /* default command-line prompt */ char *usage = "usage: %s [-] [-sx] [-p string] [name]\n"; -extern int optind; -extern char *optarg; - /* ed: line editor */ int main(argc, argv) -- cgit v1.2.3