aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandocdb.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-07-09 15:24:19 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-07-09 15:24:19 +0000
commitd223bd5bcbc7169cc6059ddf87de06fa3e91a2a4 (patch)
tree5d5ef9001793074c0b5a413cae652f87fe6fb7dc /mandocdb.c
parent6d1b91c7d52857bb2fa40ca8bd7891e461e37590 (diff)
downloadmandoc-d223bd5bcbc7169cc6059ddf87de06fa3e91a2a4.tar.gz
mandoc-d223bd5bcbc7169cc6059ddf87de06fa3e91a2a4.tar.zst
mandoc-d223bd5bcbc7169cc6059ddf87de06fa3e91a2a4.zip
getopt(3) is declared in <unistd.h>, and <getopt.h> is not needed;
from Joerg Sonnenberger via Thomas Klausner, NetBSD.
Diffstat (limited to 'mandocdb.c')
-rw-r--r--mandocdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mandocdb.c b/mandocdb.c
index b8966fc8..fa23ad0e 100644
--- a/mandocdb.c
+++ b/mandocdb.c
@@ -1,4 +1,4 @@
-/* $Id: mandocdb.c,v 1.216 2016/03/17 21:26:26 schwarze Exp $ */
+/* $Id: mandocdb.c,v 1.217 2016/07/09 15:24:19 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011-2016 Ingo Schwarze <schwarze@openbsd.org>
@@ -33,7 +33,6 @@
#else
#include "compat_fts.h"
#endif
-#include <getopt.h>
#include <limits.h>
#include <stddef.h>
#include <stdio.h>