diff options
author | ray <> | 2006-03-15 02:50:25 +0000 |
---|---|---|
committer | ray <> | 2006-03-15 02:50:25 +0000 |
commit | f3df708c24835a7c191ee4311b98201be73737be (patch) | |
tree | 906075ab4b64364378bc8e0c3ee5a8381b198b84 /src/lib | |
parent | a8c113c1752aac8d7cff08f9ce0b5b3a837482f3 (diff) | |
download | openbsd-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/lib')
-rw-r--r-- | src/lib/libc/stdlib/getopt.3 | 4 |
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 |
177 | after option argument processing has completed. | 177 | after option argument processing has completed. |
178 | .Bd -literal -offset indent | 178 | .Bd -literal -offset indent |
179 | extern char *optarg; | ||
180 | extern int optind; | ||
181 | int bflag, ch, fd; | 179 | int bflag, ch, fd; |
182 | 180 | ||
183 | bflag = 0; | 181 | bflag = 0; |