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/7404d5f236d5
branches:  trunk
changeset: 452092:7404d5f236d5
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 fc8476f33b8a -r 7404d5f236d5 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