diff options
author | deraadt <> | 2021-12-13 16:56:48 +0000 |
---|---|---|
committer | deraadt <> | 2021-12-13 16:56:48 +0000 |
commit | 9021d14f9c0c87cbe273ab6f4fe8e4f48363f4f6 (patch) | |
tree | 4d79dae357e2afe076d7157a01ff32c7b7546acc /src/regress/lib/libc/sys/t_gettimeofday.c | |
parent | 29eb1fc4c6f8014bf067b8a9ade4cf476193f0d5 (diff) | |
download | openbsd-9021d14f9c0c87cbe273ab6f4fe8e4f48363f4f6.tar.gz openbsd-9021d14f9c0c87cbe273ab6f4fe8e4f48363f4f6.tar.bz2 openbsd-9021d14f9c0c87cbe273ab6f4fe8e4f48363f4f6.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_gettimeofday.c')
-rw-r--r-- | src/regress/lib/libc/sys/t_gettimeofday.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/regress/lib/libc/sys/t_gettimeofday.c b/src/regress/lib/libc/sys/t_gettimeofday.c index 015204b1fc..7a7d319be1 100644 --- a/src/regress/lib/libc/sys/t_gettimeofday.c +++ b/src/regress/lib/libc/sys/t_gettimeofday.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_gettimeofday.c,v 1.4 2021/09/27 14:07:44 mbuhl Exp $ */ | 1 | /* $OpenBSD: t_gettimeofday.c,v 1.5 2021/12/13 16:56:48 deraadt Exp $ */ |
2 | /* $NetBSD: t_gettimeofday.c,v 1.1 2011/07/07 06:57:53 jruoho Exp $ */ | 2 | /* $NetBSD: t_gettimeofday.c,v 1.1 2011/07/07 06:57:53 jruoho Exp $ */ |
3 | 3 | ||
4 | /*- | 4 | /*- |
@@ -32,13 +32,11 @@ | |||
32 | 32 | ||
33 | #include "macros.h" | 33 | #include "macros.h" |
34 | 34 | ||
35 | #include <sys/cdefs.h> | ||
36 | __RCSID("$NetBSD: t_gettimeofday.c,v 1.1 2011/07/07 06:57:53 jruoho Exp $"); | ||
37 | |||
38 | #include <sys/time.h> | 35 | #include <sys/time.h> |
39 | 36 | ||
40 | #include "atf-c.h" | 37 | #include "atf-c.h" |
41 | #include <errno.h> | 38 | #include <errno.h> |
39 | #include <signal.h> | ||
42 | #include <string.h> | 40 | #include <string.h> |
43 | 41 | ||
44 | #ifdef __OpenBSD__ | 42 | #ifdef __OpenBSD__ |