summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libc/sys/macros.h')
-rw-r--r--src/regress/lib/libc/sys/macros.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/regress/lib/libc/sys/macros.h b/src/regress/lib/libc/sys/macros.h
index ee7d77c31d..cb0789eb71 100644
--- a/src/regress/lib/libc/sys/macros.h
+++ b/src/regress/lib/libc/sys/macros.h
@@ -1,7 +1,6 @@
1/* $OpenBSD: macros.h,v 1.4 2021/09/02 15:28:41 mbuhl Exp $ */ 1/* $OpenBSD: macros.h,v 1.5 2021/12/13 16:56:48 deraadt Exp $ */
2/* Public domain - Moritz Buhl */ 2/* Public domain - Moritz Buhl */
3 3
4#include <sys/param.h>
5#include <sys/socket.h> 4#include <sys/socket.h>
6#include <sys/stdint.h> 5#include <sys/stdint.h>
7#include <sys/sysctl.h> 6#include <sys/sysctl.h>
@@ -11,8 +10,7 @@
11#include <string.h> 10#include <string.h>
12#include <stdio.h> 11#include <stdio.h>
13 12
14#define __RCSID(str) 13#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0]))
15#define __COPYRIGHT(str)
16 14
17#define __arraycount(_a) nitems(_a) 15#define __arraycount(_a) nitems(_a)
18#define __unreachable() atf_tc_fail("unreachable") 16#define __unreachable() atf_tc_fail("unreachable")