From 8d21fee22ec79324eef6e9a88c83bd6cf32315d6 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Mon, 13 Dec 2021 16:56:48 +0000 Subject: remove a couple hundred sys/param.h includes in userland code, and also whack some sys/cdefs.h early includes which is such a brutally bad pattern ok bluhm mbuhl --- src/regress/lib/libc/sys/t_mmap.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/regress/lib/libc/sys/t_mmap.c') diff --git a/src/regress/lib/libc/sys/t_mmap.c b/src/regress/lib/libc/sys/t_mmap.c index 8d167cd5ec..59c74296e3 100644 --- a/src/regress/lib/libc/sys/t_mmap.c +++ b/src/regress/lib/libc/sys/t_mmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: t_mmap.c,v 1.3 2020/12/06 18:46:07 bluhm Exp $ */ +/* $OpenBSD: t_mmap.c,v 1.4 2021/12/13 16:56:48 deraadt Exp $ */ /* $NetBSD: t_mmap.c,v 1.14 2020/06/26 07:50:11 jruoho Exp $ */ /*- @@ -58,10 +58,6 @@ #include "macros.h" -#include -__RCSID("$NetBSD: t_mmap.c,v 1.14 2020/06/26 07:50:11 jruoho Exp $"); - -#include #include #include #include @@ -75,6 +71,7 @@ __RCSID("$NetBSD: t_mmap.c,v 1.14 2020/06/26 07:50:11 jruoho Exp $"); #include #include #include +#include #include #include #include -- cgit v1.2.3-55-g6feb