From c35b9bdae7316474e01b5a2ba9dcf3631b975901 Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Mon, 6 Dec 2010 18:44:50 +0000 Subject: - drop NENTS(), which was yet another copy of nitems(). no binary change ok deraadt@ --- sys/lib/libsa/stand.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/lib') 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)) -- cgit v1.2.3