summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getopt_long.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-07-07 02:47:41 +0000
committerpfg <pfg@FreeBSD.org>2014-07-07 02:47:41 +0000
commit19e2403cf638d4a6e6e50c1d6117dec3c7189291 (patch)
tree691aea9cf5ce894315583f830b81832a0556cc57 /lib/libc/stdlib/getopt_long.c
parentd74df80505e5aecd77377aaec7c1a99a08716af7 (diff)
downloadFreeBSD-src-19e2403cf638d4a6e6e50c1d6117dec3c7189291.zip
FreeBSD-src-19e2403cf638d4a6e6e50c1d6117dec3c7189291.tar.gz
MFC r267745, r268268:
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.c2
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 $ */
/*
OpenPOWER on IntegriCloud