From 21d836180a37affe00ec057d6bcc42416a72d01f Mon Sep 17 00:00:00 2001 From: enami Date: Wed, 1 Oct 1997 02:18:14 +0000 Subject: [PATCH] Don't declare optind. --- sbin/fsck_msdos/main.c | 5 ++--- sbin/ifconfig/ifconfig.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/sbin/fsck_msdos/main.c b/sbin/fsck_msdos/main.c index fe18df635c28..edfb83b5e4a4 100644 --- a/sbin/fsck_msdos/main.c +++ b/sbin/fsck_msdos/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.9 1997/09/14 14:40:14 lukem Exp $ */ +/* $NetBSD: main.c,v 1.10 1997/10/01 02:18:14 enami Exp $ */ /* * Copyright (C) 1995 Wolfgang Solfrank @@ -35,7 +35,7 @@ #include #ifndef lint -__RCSID("$NetBSD: main.c,v 1.9 1997/09/14 14:40:14 lukem Exp $"); +__RCSID("$NetBSD: main.c,v 1.10 1997/10/01 02:18:14 enami Exp $"); #endif /* not lint */ #include @@ -72,7 +72,6 @@ main(argc, argv) int argc; char **argv; { - extern int optind; int ret = 0, erg; int ch; diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index caab8b595a12..260176d3d625 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $NetBSD: ifconfig.c,v 1.39 1997/09/15 01:53:36 lukem Exp $ */ +/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* * Copyright (c) 1997 Jason R. Thorpe. @@ -75,7 +75,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\ #if 0 static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94"; #else -__RCSID("$NetBSD: ifconfig.c,v 1.39 1997/09/15 01:53:36 lukem Exp $"); +__RCSID("$NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $"); #endif #endif /* not lint */ @@ -253,7 +253,6 @@ main(argc, argv) int argc; char *argv[]; { - extern int optind; int ch, aflag; /* Parse command-line options */