aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mansearch.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 /mansearch.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 'mansearch.c')
-rw-r--r--mansearch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mansearch.c b/mansearch.c
index 843326ba..1ab879d7 100644
--- a/mansearch.c
+++ b/mansearch.c
@@ -1,4 +1,4 @@
-/* $Id: mansearch.c,v 1.64 2016/01/08 15:02:54 schwarze Exp $ */
+/* $Id: mansearch.c,v 1.65 2016/07/09 15:24:19 schwarze Exp $ */
/*
* Copyright (c) 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -26,7 +26,6 @@
#endif
#include <errno.h>
#include <fcntl.h>
-#include <getopt.h>
#include <glob.h>
#include <limits.h>
#include <regex.h>