Subject: bin/23932: remove unused macro in w(1) w.c
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jeffi@rcn.com>
List: netbsd-bugs
Date: 12/30/2003 15:48:27
>Number:         23932
>Category:       bin
>Synopsis:       remove unused macro in w(1) w.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 30 15:49:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jeff Ito
>Release:        1.6ZG
>Organization:
>Environment:
NetBSD 1.6ZG Fri Dec  5 15:13:48 EST 2003
>Description:
w.c contains max(a,b) macro that has not been in use in the code since 1.47 (17 months)
>How-To-Repeat:
N/A
>Fix:
Index: w.c
===================================================================
RCS file: /cvs/nbsd/src/usr.bin/w/w.c,v
retrieving revision 1.60
diff -u -r1.60 w.c
--- w.c 7 Aug 2003 11:17:13 -0000       1.60
+++ w.c 30 Dec 2003 15:38:20 -0000
@@ -87,8 +87,6 @@

 #include "extern.h"

-#define        max(a,b)        (((a)>(b))?(a):(b))
-
 struct timeval boottime;
 struct winsize ws;
 kvm_t         *kd;

>Release-Note:
>Audit-Trail:
>Unformatted: