diff options
author | deraadt <> | 2021-12-13 16:56:48 +0000 |
---|---|---|
committer | deraadt <> | 2021-12-13 16:56:48 +0000 |
commit | 8d21fee22ec79324eef6e9a88c83bd6cf32315d6 (patch) | |
tree | 4d79dae357e2afe076d7157a01ff32c7b7546acc /src/regress/lib/libc/sys/t_write.c | |
parent | ff932a8c105e55b70f9248f6e57a9157c7969ef4 (diff) | |
download | openbsd-8d21fee22ec79324eef6e9a88c83bd6cf32315d6.tar.gz openbsd-8d21fee22ec79324eef6e9a88c83bd6cf32315d6.tar.bz2 openbsd-8d21fee22ec79324eef6e9a88c83bd6cf32315d6.zip |
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
Diffstat (limited to 'src/regress/lib/libc/sys/t_write.c')
-rw-r--r-- | src/regress/lib/libc/sys/t_write.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/regress/lib/libc/sys/t_write.c b/src/regress/lib/libc/sys/t_write.c index 326032db71..8d01ebfba8 100644 --- a/src/regress/lib/libc/sys/t_write.c +++ b/src/regress/lib/libc/sys/t_write.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_write.c,v 1.3 2020/11/09 23:18:51 bluhm Exp $ */ | 1 | /* $OpenBSD: t_write.c,v 1.4 2021/12/13 16:56:48 deraadt Exp $ */ |
2 | /* $NetBSD: t_write.c,v 1.7 2019/07/16 17:29:18 martin Exp $ */ | 2 | /* $NetBSD: t_write.c,v 1.7 2019/07/16 17:29:18 martin Exp $ */ |
3 | 3 | ||
4 | /*- | 4 | /*- |
@@ -29,11 +29,6 @@ | |||
29 | 29 | ||
30 | #include "macros.h" | 30 | #include "macros.h" |
31 | 31 | ||
32 | #include <sys/cdefs.h> | ||
33 | __COPYRIGHT("@(#) Copyright (c) 2008\ | ||
34 | The NetBSD Foundation, inc. All rights reserved."); | ||
35 | __RCSID("$NetBSD: t_write.c,v 1.7 2019/07/16 17:29:18 martin Exp $"); | ||
36 | |||
37 | #include <sys/uio.h> | 32 | #include <sys/uio.h> |
38 | #include <sys/mman.h> | 33 | #include <sys/mman.h> |
39 | 34 | ||