summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-03-15 02:50:26 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-03-15 02:50:26 +0000
commit493881acf09fe653097817ae01abe2ab855339ed (patch)
tree9cc593c74441c30d5cbecb29ee6dd3430f1b3ff1 /lib
parent3bed677bcd677666e07a6745739c527d17b91861 (diff)
Removes extraneous variables from getopt(3). Inspired by one of
David Hill's diffs. ok otto
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/getopt.34
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3
index f07f01dd7f3..796541184f6 100644
--- a/lib/libc/stdlib/getopt.3
+++ b/lib/libc/stdlib/getopt.3
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: getopt.3,v 1.37 2005/10/11 01:23:41 jaredy Exp $
+.\" $OpenBSD: getopt.3,v 1.38 2006/03/15 02:50:25 ray Exp $
.\"
.Dd December 17, 2002
.Dt GETOPT 3
@@ -176,8 +176,6 @@ and
.Va argv
after option argument processing has completed.
.Bd -literal -offset indent
-extern char *optarg;
-extern int optind;
int bflag, ch, fd;
bflag = 0;