summaryrefslogtreecommitdiffstats
path: root/usr.bin/ctfconv
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ctfconv')
-rw-r--r--usr.bin/ctfconv/ctfconv.c3
-rw-r--r--usr.bin/ctfconv/elf.c4
-rw-r--r--usr.bin/ctfconv/parse.c6
-rw-r--r--usr.bin/ctfconv/pool.c4
4 files changed, 8 insertions, 9 deletions
diff --git a/usr.bin/ctfconv/ctfconv.c b/usr.bin/ctfconv/ctfconv.c
index 5d95ee2334f..1d3b3921c7d 100644
--- a/usr.bin/ctfconv/ctfconv.c
+++ b/usr.bin/ctfconv/ctfconv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ctfconv.c,v 1.7 2017/08/12 19:00:08 jasper Exp $ */
+/* $OpenBSD: ctfconv.c,v 1.8 2017/08/29 21:10:20 deraadt Exp $ */
/*
* Copyright (c) 2016-2017 Martin Pieuchot
@@ -16,7 +16,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/param.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/exec_elf.h>
diff --git a/usr.bin/ctfconv/elf.c b/usr.bin/ctfconv/elf.c
index 2f040c4e66e..3dad0174b3b 100644
--- a/usr.bin/ctfconv/elf.c
+++ b/usr.bin/ctfconv/elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elf.c,v 1.2 2017/08/11 14:58:56 jasper Exp $ */
+/* $OpenBSD: elf.c,v 1.3 2017/08/29 21:10:20 deraadt Exp $ */
/*
* Copyright (c) 2016 Martin Pieuchot <mpi@openbsd.org>
@@ -16,7 +16,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/param.h>
+#include <sys/types.h>
#include <sys/exec_elf.h>
#include <machine/reloc.h>
diff --git a/usr.bin/ctfconv/parse.c b/usr.bin/ctfconv/parse.c
index e91616f7163..e634082ec9f 100644
--- a/usr.bin/ctfconv/parse.c
+++ b/usr.bin/ctfconv/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.4 2017/08/11 16:55:46 mpi Exp $ */
+/* $OpenBSD: parse.c,v 1.5 2017/08/29 21:10:20 deraadt Exp $ */
/*
* Copyright (c) 2016-2017 Martin Pieuchot
@@ -21,13 +21,13 @@
* DWARF to IT (internal type) representation parser.
*/
-#include <sys/param.h>
-#include <sys/types.h>
+#include <sys/param.h> /* nitems() */
#include <sys/queue.h>
#include <sys/tree.h>
#include <sys/ctf.h>
#include <assert.h>
+#include <limits.h>
#include <err.h>
#include <stdlib.h>
#include <string.h>
diff --git a/usr.bin/ctfconv/pool.c b/usr.bin/ctfconv/pool.c
index a05cbab30df..24129248527 100644
--- a/usr.bin/ctfconv/pool.c
+++ b/usr.bin/ctfconv/pool.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pool.c,v 1.2 2017/08/11 14:58:56 jasper Exp $ */
+/* $OpenBSD: pool.c,v 1.3 2017/08/29 21:10:20 deraadt Exp $ */
/*
* Copyright (c) 2017 Martin Pieuchot
@@ -18,7 +18,7 @@
#ifndef NOPOOL
-#include <sys/param.h>
+#include <sys/types.h>
#include <sys/types.h>
#include <sys/queue.h>