diff options
author | 2016-01-04 19:43:13 +0000 | |
---|---|---|
committer | 2016-01-04 19:43:13 +0000 | |
commit | 4bee82cdb513d93da7a51de5d923cb0a373466b2 (patch) | |
tree | 515364f752edabc95076f8631133d51cadb839a2 /lib/libc | |
parent | no need for af on divert-to rule; from/ok mikeb (diff) | |
download | wireguard-openbsd-4bee82cdb513d93da7a51de5d923cb0a373466b2.tar.xz wireguard-openbsd-4bee82cdb513d93da7a51de5d923cb0a373466b2.zip |
Follow style(9) and drop lint /* NOTREACHED */ annotations from
the examples.
Diff from Juuso Lapinlampi < wub () partyvan ! eu >, thanks!
ok schwarze@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdlib/getopt.3 | 5 | ||||
-rw-r--r-- | lib/libc/stdlib/getopt_long.3 | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3 index 3c89783cd03..af43ca66605 100644 --- a/lib/libc/stdlib/getopt.3 +++ b/lib/libc/stdlib/getopt.3 @@ -25,9 +25,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: getopt.3,v 1.45 2015/11/24 09:03:16 bentley Exp $ +.\" $OpenBSD: getopt.3,v 1.46 2016/01/04 19:43:13 tb Exp $ .\" -.Dd $Mdocdate: November 24 2015 $ +.Dd $Mdocdate: January 4 2016 $ .Dt GETOPT 3 .Os .Sh NAME @@ -183,7 +183,6 @@ while ((ch = getopt(argc, argv, "bf:")) != -1) { break; default: usage(); - /* NOTREACHED */ } } argc -= optind; diff --git a/lib/libc/stdlib/getopt_long.3 b/lib/libc/stdlib/getopt_long.3 index a5973d6c995..88e0dffb1b4 100644 --- a/lib/libc/stdlib/getopt_long.3 +++ b/lib/libc/stdlib/getopt_long.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getopt_long.3,v 1.20 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: getopt_long.3,v 1.21 2016/01/04 19:43:13 tb Exp $ .\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $ .\" .\" Copyright (c) 1988, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)getopt.3 8.5 (Berkeley) 4/27/95 .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 4 2016 $ .Dt GETOPT_LONG 3 .Os .Sh NAME @@ -420,7 +420,6 @@ while ((ch = getopt_long(argc, argv, "bf:", longopts, NULL)) != -1) break; default: usage(); - /* NOTREACHED */ } argc -= optind; argv += optind; |