summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorray <>2006-03-15 02:50:25 +0000
committerray <>2006-03-15 02:50:25 +0000
commitf3df708c24835a7c191ee4311b98201be73737be (patch)
tree906075ab4b64364378bc8e0c3ee5a8381b198b84 /src
parenta8c113c1752aac8d7cff08f9ce0b5b3a837482f3 (diff)
downloadopenbsd-f3df708c24835a7c191ee4311b98201be73737be.tar.gz
openbsd-f3df708c24835a7c191ee4311b98201be73737be.tar.bz2
openbsd-f3df708c24835a7c191ee4311b98201be73737be.zip
Removes extraneous variables from getopt(3). Inspired by one of
David Hill's diffs. ok otto
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/stdlib/getopt.34
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3
index f07f01dd7f..796541184f 100644
--- a/src/lib/libc/stdlib/getopt.3
+++ b/src/lib/libc/stdlib/getopt.3
@@ -25,7 +25,7 @@
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE. 26.\" SUCH DAMAGE.
27.\" 27.\"
28.\" $OpenBSD: getopt.3,v 1.37 2005/10/11 01:23:41 jaredy Exp $ 28.\" $OpenBSD: getopt.3,v 1.38 2006/03/15 02:50:25 ray Exp $
29.\" 29.\"
30.Dd December 17, 2002 30.Dd December 17, 2002
31.Dt GETOPT 3 31.Dt GETOPT 3
@@ -176,8 +176,6 @@ and
176.Va argv 176.Va argv
177after option argument processing has completed. 177after option argument processing has completed.
178.Bd -literal -offset indent 178.Bd -literal -offset indent
179extern char *optarg;
180extern int optind;
181int bflag, ch, fd; 179int bflag, ch, fd;
182 180
183bflag = 0; 181bflag = 0;