diff options
author | pfg <pfg@FreeBSD.org> | 2014-06-22 20:13:57 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-06-22 20:13:57 +0000 |
commit | 66013e8440dbaddd01711e4aefca2601746581e4 (patch) | |
tree | 8ff0c1efb45173a0d2b0f830885bcc47c6505f46 /lib/libc/stdlib/getopt_long.c | |
parent | a1fd834d280fdb600af24f39450f1a7c7262b4f3 (diff) | |
download | FreeBSD-src-66013e8440dbaddd01711e4aefca2601746581e4.zip FreeBSD-src-66013e8440dbaddd01711e4aefca2601746581e4.tar.gz |
getopt(3): recognize option:: as GNU extension for "optional options".
Also ANSIfy a function declaration.
While here update the OpenBSD patch level in getopt_long.c as we
already have the corresponding change.
Obtained from: NetBSD
MFC after: 2 weeks
Diffstat (limited to 'lib/libc/stdlib/getopt_long.c')
-rw-r--r-- | lib/libc/stdlib/getopt_long.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdlib/getopt_long.c b/lib/libc/stdlib/getopt_long.c index 9f7f6d5..3b7f693 100644 --- a/lib/libc/stdlib/getopt_long.c +++ b/lib/libc/stdlib/getopt_long.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getopt_long.c,v 1.22 2006/10/04 21:29:04 jmc Exp $ */ +/* $OpenBSD: getopt_long.c,v 1.23 2007/10/31 12:34:57 chl Exp $ */ /* $NetBSD: getopt_long.c,v 1.15 2002/01/31 22:43:40 tv Exp $ */ /* |