summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys/t_msgget.c
diff options
context:
space:
mode:
authorderaadt <>2021-12-13 16:56:48 +0000
committerderaadt <>2021-12-13 16:56:48 +0000
commit8d21fee22ec79324eef6e9a88c83bd6cf32315d6 (patch)
tree4d79dae357e2afe076d7157a01ff32c7b7546acc /src/regress/lib/libc/sys/t_msgget.c
parentff932a8c105e55b70f9248f6e57a9157c7969ef4 (diff)
downloadopenbsd-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_msgget.c')
-rw-r--r--src/regress/lib/libc/sys/t_msgget.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/regress/lib/libc/sys/t_msgget.c b/src/regress/lib/libc/sys/t_msgget.c
index c5b7d97e15..f4d3013b6f 100644
--- a/src/regress/lib/libc/sys/t_msgget.c
+++ b/src/regress/lib/libc/sys/t_msgget.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: t_msgget.c,v 1.2 2020/11/09 23:18:51 bluhm Exp $ */ 1/* $OpenBSD: t_msgget.c,v 1.3 2021/12/13 16:56:48 deraadt Exp $ */
2/* $NetBSD: t_msgget.c,v 1.3 2017/10/08 08:31:05 kre Exp $ */ 2/* $NetBSD: t_msgget.c,v 1.3 2017/10/08 08:31:05 kre Exp $ */
3 3
4/*- 4/*-
@@ -32,9 +32,6 @@
32 32
33#include "macros.h" 33#include "macros.h"
34 34
35#include <sys/cdefs.h>
36__RCSID("$NetBSD: t_msgget.c,v 1.3 2017/10/08 08:31:05 kre Exp $");
37
38#include <sys/msg.h> 35#include <sys/msg.h>
39#include <sys/stat.h> 36#include <sys/stat.h>
40#include <sys/sysctl.h> 37#include <sys/sysctl.h>
@@ -45,6 +42,7 @@ __RCSID("$NetBSD: t_msgget.c,v 1.3 2017/10/08 08:31:05 kre Exp $");
45#include <pwd.h> 42#include <pwd.h>
46#include <stdio.h> 43#include <stdio.h>
47#include <stdlib.h> 44#include <stdlib.h>
45#include <signal.h>
48#include <string.h> 46#include <string.h>
49#include <sysexits.h> 47#include <sysexits.h>
50#include <time.h> 48#include <time.h>