aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mansearch_const.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-10 23:54:41 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-10 23:54:41 +0000
commit542b6aa18abe9cadcf68c4a5c88bde4353e5eac9 (patch)
treefa6069eb1a2a268ddd6d8879f706a6930e86353e /mansearch_const.c
parentf0a7b2d879a302384d0c80008e61e904904e837b (diff)
downloadmandoc-542b6aa18abe9cadcf68c4a5c88bde4353e5eac9.tar.gz
mandoc-542b6aa18abe9cadcf68c4a5c88bde4353e5eac9.tar.zst
mandoc-542b6aa18abe9cadcf68c4a5c88bde4353e5eac9.zip
Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat.
Include <sys/types.h> where needed, it does not belong in config.h. Remove <stdio.h> from config.h; if it is missing somewhere, it should be added, but i cannot find a *.c file where it is missing.
Diffstat (limited to 'mansearch_const.c')
-rw-r--r--mansearch_const.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mansearch_const.c b/mansearch_const.c
index 1533f927..9ba8bc25 100644
--- a/mansearch_const.c
+++ b/mansearch_const.c
@@ -1,4 +1,4 @@
-/* $Id: mansearch_const.c,v 1.5 2014/08/09 14:05:21 schwarze Exp $ */
+/* $Id: mansearch_const.c,v 1.6 2014/08/10 23:54:41 schwarze Exp $ */
/*
* Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
*
@@ -14,11 +14,10 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#ifdef HAVE_CONFIG_H
#include "config.h"
-#endif
#include <sys/types.h>
+
#include <stdint.h>
#include "manpath.h"