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/481c9f79fd40
branches:  trunk
changeset: 1008778:481c9f79fd40
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 03a3d4bd9062 -r 481c9f79fd40 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