summaryrefslogtreecommitdiffstats
path: root/usr.bin/ctfconv/parse.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2017-08-29 21:10:20 +0000
committerderaadt <deraadt@openbsd.org>2017-08-29 21:10:20 +0000
commit2c9994650851e18cc50ee2c1e7af701afbc65186 (patch)
tree1c97aa74b91ad5e5b85db47de7de455b34f5daeb /usr.bin/ctfconv/parse.c
parentRedraw rectangle selections properly when cursor at end, GitHub issue 992. (diff)
downloadwireguard-openbsd-2c9994650851e18cc50ee2c1e7af701afbc65186.tar.xz
wireguard-openbsd-2c9994650851e18cc50ee2c1e7af701afbc65186.zip
quarterly rescan of the tree: remove unneccessary sys/param.h, and
annotate the ones which are needed.
Diffstat (limited to 'usr.bin/ctfconv/parse.c')
-rw-r--r--usr.bin/ctfconv/parse.c6
1 files changed, 3 insertions, 3 deletions
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>