Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make make(1): remove unused macro definitions from a...



details:   https://anonhg.NetBSD.org/src/rev/52da969351ad
branches:  trunk
changeset: 945769:52da969351ad
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Nov 07 12:54:44 2020 +0000

description:
make(1): remove unused macro definitions from arch.c

These definitions have originally been added in arch.c 1.27 on
1998-05-21.  Even back then they had been unused, at least they had not
been used directly.  Since macros are expanded at their use site, there
could have been an indirect use, but that is not the case anymore.

diffstat:

 usr.bin/make/arch.c |  13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diffs (27 lines):

diff -r 9440a2f941cb -r 52da969351ad usr.bin/make/arch.c
--- a/usr.bin/make/arch.c       Sat Nov 07 12:47:16 2020 +0000
+++ b/usr.bin/make/arch.c       Sat Nov 07 12:54:44 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arch.c,v 1.159 2020/11/07 12:47:16 rillig Exp $        */
+/*     $NetBSD: arch.c,v 1.160 2020/11/07 12:54:44 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -125,16 +125,7 @@
 #include "config.h"
 
 /*     "@(#)arch.c     8.2 (Berkeley) 1/2/94"  */
-MAKE_RCSID("$NetBSD: arch.c,v 1.159 2020/11/07 12:47:16 rillig Exp $");
-
-#ifdef TARGET_MACHINE
-#undef MAKE_MACHINE
-#define MAKE_MACHINE TARGET_MACHINE
-#endif
-#ifdef TARGET_MACHINE_ARCH
-#undef MAKE_MACHINE_ARCH
-#define MAKE_MACHINE_ARCH TARGET_MACHINE_ARCH
-#endif
+MAKE_RCSID("$NetBSD: arch.c,v 1.160 2020/11/07 12:54:44 rillig Exp $");
 
 typedef struct List ArchList;
 typedef struct ListNode ArchListNode;



Home | Main Index | Thread Index | Old Index