diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-07-09 15:24:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-07-09 15:24:19 +0000 |
commit | d223bd5bcbc7169cc6059ddf87de06fa3e91a2a4 (patch) | |
tree | 5d5ef9001793074c0b5a413cae652f87fe6fb7dc | |
parent | 6d1b91c7d52857bb2fa40ca8bd7891e461e37590 (diff) | |
download | mandoc-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.
-rw-r--r-- | demandoc.c | 3 | ||||
-rw-r--r-- | mandocdb.c | 3 | ||||
-rw-r--r-- | manpage.c | 3 | ||||
-rw-r--r-- | mansearch.c | 3 |
4 files changed, 4 insertions, 8 deletions
@@ -1,4 +1,4 @@ -/* $Id: demandoc.c,v 1.26 2016/01/08 02:53:13 schwarze Exp $ */ +/* $Id: demandoc.c,v 1.27 2016/07/09 15:24:19 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -20,7 +20,6 @@ #include <assert.h> #include <ctype.h> -#include <getopt.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -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> @@ -1,4 +1,4 @@ -/* $Id: manpage.c,v 1.13 2015/11/07 17:58:55 schwarze Exp $ */ +/* $Id: manpage.c,v 1.14 2016/07/09 15:24:19 schwarze Exp $ */ /* * Copyright (c) 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013 Ingo Schwarze <schwarze@openbsd.org> @@ -20,7 +20,6 @@ #include <sys/types.h> #include <assert.h> -#include <getopt.h> #include <limits.h> #include <stdint.h> #include <stdio.h> 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> |