Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make Revert arraycount



details:   https://anonhg.NetBSD.org/src/rev/338b80800bff
branches:  trunk
changeset: 970743:338b80800bff
user:      sjg <sjg%NetBSD.org@localhost>
date:      Fri Apr 03 03:35:16 2020 +0000

description:
Revert arraycount

diffstat:

 usr.bin/make/make.h |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (18 lines):

diff -r 1bc6ad2603fa -r 338b80800bff usr.bin/make/make.h
--- a/usr.bin/make/make.h       Fri Apr 03 03:32:28 2020 +0000
+++ b/usr.bin/make/make.h       Fri Apr 03 03:35:16 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: make.h,v 1.106 2020/04/03 03:32:28 sjg Exp $   */
+/*     $NetBSD: make.h,v 1.107 2020/04/03 03:35:16 sjg Exp $   */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -532,8 +532,4 @@
 #define KILLPG(pid, sig)       killpg((pid), (sig))
 #endif
 
-#ifndef __arraycount
-#define __arraycount(__x)      (sizeof(__x) / sizeof(__x[0]))
-#endif
-
 #endif /* _MAKE_H_ */



Home | Main Index | Thread Index | Old Index