From 315054f4737a39489e0a14f3a92bff61f1592832 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 16 Jan 2015 06:40:24 +0000 Subject: Replace with and other less dirty headers where possible. Annotate lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) --- usr.bin/ktrace/ktrace.c | 5 +++-- usr.bin/ktrace/subr.c | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'usr.bin/ktrace') diff --git a/usr.bin/ktrace/ktrace.c b/usr.bin/ktrace/ktrace.c index d73a0b0bebe..178180822eb 100644 --- a/usr.bin/ktrace/ktrace.c +++ b/usr.bin/ktrace/ktrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ktrace.c,v 1.30 2014/05/24 17:04:16 deraadt Exp $ */ +/* $OpenBSD: ktrace.c,v 1.31 2015/01/16 06:40:09 deraadt Exp $ */ /* $NetBSD: ktrace.c,v 1.4 1995/08/31 23:01:44 jtc Exp $ */ /*- @@ -30,7 +30,8 @@ * SUCH DAMAGE. */ -#include +#include /* MAXCOMLEN */ +#include #include #include #include diff --git a/usr.bin/ktrace/subr.c b/usr.bin/ktrace/subr.c index 251a5db5096..96bded2611a 100644 --- a/usr.bin/ktrace/subr.c +++ b/usr.bin/ktrace/subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr.c,v 1.8 2013/06/01 09:51:28 miod Exp $ */ +/* $OpenBSD: subr.c,v 1.9 2015/01/16 06:40:09 deraadt Exp $ */ /* $NetBSD: subr.c,v 1.6 1995/08/31 23:01:45 jtc Exp $ */ /*- @@ -30,7 +30,7 @@ * SUCH DAMAGE. */ -#include +#include /* MAXCOMLEN */ #include #include #include -- cgit v1.2.3