diff options
author | 2006-03-15 02:50:25 +0000 | |
---|---|---|
committer | 2006-03-15 02:50:25 +0000 | |
commit | fedfeea46442f3acf4eeed5239dc79ff931d7c06 (patch) | |
tree | a6381d2d3fc0e9f8e8b5d771a45ec40440b30a75 /lib/libc/stdlib/getopt.3 | |
parent | Don't assume there is an RCS directory just because the filename (diff) | |
download | wireguard-openbsd-fedfeea46442f3acf4eeed5239dc79ff931d7c06.tar.xz wireguard-openbsd-fedfeea46442f3acf4eeed5239dc79ff931d7c06.zip |
Removes extraneous variables from getopt(3). Inspired by one of
David Hill's diffs.
ok otto
Diffstat (limited to 'lib/libc/stdlib/getopt.3')
-rw-r--r-- | lib/libc/stdlib/getopt.3 | 4 |
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; |