Browse Source

Removes extraneous variables from getopt(3). Inspired by one of

David Hill's diffs.
ok otto
OPENBSD_4_0
ray 18 years ago
parent
commit
9ee3d71486
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      src/lib/libc/stdlib/getopt.3

+ 1
- 3
src/lib/libc/stdlib/getopt.3 View File

@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" 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 .Dd December 17, 2002
.Dt GETOPT 3 .Dt GETOPT 3
@ -176,8 +176,6 @@ and
.Va argv .Va argv
after option argument processing has completed. after option argument processing has completed.
.Bd -literal -offset indent .Bd -literal -offset indent
extern char *optarg;
extern int optind;
int bflag, ch, fd; int bflag, ch, fd;
bflag = 0; bflag = 0;


Loading…
Cancel
Save