summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/getopt.3
diff options
context:
space:
mode:
authortb <>2016-01-04 19:43:13 +0000
committertb <>2016-01-04 19:43:13 +0000
commitc0c3491a8e39b8f754d5d210441e118a58201189 (patch)
treef8d13209636bc1d7742bf3ef4dbfd516656670ae /src/lib/libc/stdlib/getopt.3
parentf70371cc053f5cae8250db07f381abd0aa64b2a8 (diff)
downloadopenbsd-c0c3491a8e39b8f754d5d210441e118a58201189.tar.gz
openbsd-c0c3491a8e39b8f754d5d210441e118a58201189.tar.bz2
openbsd-c0c3491a8e39b8f754d5d210441e118a58201189.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 'src/lib/libc/stdlib/getopt.3')
-rw-r--r--src/lib/libc/stdlib/getopt.35
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3
index 3c89783cd0..af43ca6660 100644
--- a/src/lib/libc/stdlib/getopt.3
+++ b/src/lib/libc/stdlib/getopt.3
@@ -25,9 +25,9 @@
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.45 2015/11/24 09:03:16 bentley Exp $ 28.\" $OpenBSD: getopt.3,v 1.46 2016/01/04 19:43:13 tb Exp $
29.\" 29.\"
30.Dd $Mdocdate: November 24 2015 $ 30.Dd $Mdocdate: January 4 2016 $
31.Dt GETOPT 3 31.Dt GETOPT 3
32.Os 32.Os
33.Sh NAME 33.Sh NAME
@@ -183,7 +183,6 @@ while ((ch = getopt(argc, argv, "bf:")) != -1) {
183 break; 183 break;
184 default: 184 default:
185 usage(); 185 usage();
186 /* NOTREACHED */
187 } 186 }
188} 187}
189argc -= optind; 188argc -= optind;