Source-Changes-HG archive

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

[src/trunk]: src/bin/ps Make LSDEAD usage conditional



details:   https://anonhg.NetBSD.org/src/rev/4d2207716087
branches:  trunk
changeset: 842144:4d2207716087
user:      kamil <kamil%NetBSD.org@localhost>
date:      Tue Jun 18 02:23:29 2019 +0000

description:
Make LSDEAD usage conditional

LSDEAD is not used since NetBSD-5.0 and will be gone.

The same conditional usage is already in ps.c in the same program.

diffstat:

 bin/ps/print.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 577a01c3cfe5 -r 4d2207716087 bin/ps/print.c
--- a/bin/ps/print.c    Tue Jun 18 01:43:07 2019 +0000
+++ b/bin/ps/print.c    Tue Jun 18 02:23:29 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print.c,v 1.130 2018/09/19 15:20:39 maxv Exp $ */
+/*     $NetBSD: print.c,v 1.131 2019/06/18 02:23:29 kamil Exp $        */
 
 /*
  * Copyright (c) 2000, 2007 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
 #if 0
 static char sccsid[] = "@(#)print.c    8.6 (Berkeley) 4/16/94";
 #else
-__RCSID("$NetBSD: print.c,v 1.130 2018/09/19 15:20:39 maxv Exp $");
+__RCSID("$NetBSD: print.c,v 1.131 2019/06/18 02:23:29 kamil Exp $");
 #endif
 #endif /* not lint */
 
@@ -586,7 +586,9 @@
                break;
 
        case LSZOMB:
+#ifdef LSDEAD
        case LSDEAD:
+#endif
                *cp = 'Z';
                break;
 



Home | Main Index | Thread Index | Old Index