summaryrefslogtreecommitdiffstats
path: root/sys/lib
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2010-12-06 18:44:49 +0000
committerjasper <jasper@openbsd.org>2010-12-06 18:44:49 +0000
commit27688eb8ed63d397914af59f4835d5aa7d48dc7c (patch)
tree3c143942b8cfd30f85990c4cda8a12098729069c /sys/lib
parent- remove unused/commented COMPAT_LINUX stuff (diff)
downloadwireguard-openbsd-27688eb8ed63d397914af59f4835d5aa7d48dc7c.tar.xz
wireguard-openbsd-27688eb8ed63d397914af59f4835d5aa7d48dc7c.zip
- drop NENTS(), which was yet another copy of nitems().
no binary change ok deraadt@
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libsa/stand.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/lib/libsa/stand.h b/sys/lib/libsa/stand.h
index fc4a518c00b..3739d911a01 100644
--- a/sys/lib/libsa/stand.h
+++ b/sys/lib/libsa/stand.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stand.h,v 1.47 2010/05/09 15:30:28 jsg Exp $ */
+/* $OpenBSD: stand.h,v 1.48 2010/12/06 18:44:49 jasper Exp $ */
/* $NetBSD: stand.h,v 1.18 1996/11/30 04:35:51 gwr Exp $ */
/*-
@@ -48,7 +48,6 @@ struct open_file;
/*
* Useful macros
*/
-#define NENTS(x) sizeof(x)/sizeof(x[0])
/* don't define if libkern included */
#ifndef LIBKERN_INLINE
#define max(a,b) (((a)>(b))? (a) : (b))