summaryrefslogtreecommitdiffstats
path: root/bin/ps
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1996-12-14 06:08:03 +0000
committersteve <steve@FreeBSD.org>1996-12-14 06:08:03 +0000
commitc5d0f9cb3928db35413db774a96dc2a8eb85b141 (patch)
tree2f12bbee87f3b5e7477f863c11ba6545497513ad /bin/ps
parent0aef04187c65f5b7c84d848d3becef7ee602a9d9 (diff)
downloadFreeBSD-src-c5d0f9cb3928db35413db774a96dc2a8eb85b141.zip
FreeBSD-src-c5d0f9cb3928db35413db774a96dc2a8eb85b141.tar.gz
-Wall cleaning.
Diffstat (limited to 'bin/ps')
-rw-r--r--bin/ps/devname.c4
-rw-r--r--bin/ps/fmt.c4
-rw-r--r--bin/ps/keyword.c4
-rw-r--r--bin/ps/nlist.c4
-rw-r--r--bin/ps/print.c8
-rw-r--r--bin/ps/ps.c6
6 files changed, 15 insertions, 15 deletions
diff --git a/bin/ps/devname.c b/bin/ps/devname.c
index 0aedb2b..07aa612 100644
--- a/bin/ps/devname.c
+++ b/bin/ps/devname.c
@@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: devname.c,v 1.2 1994/09/24 02:56:41 davidg Exp $
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)devname.c 8.1 (Berkeley) 5/31/93";
+static char const sccsid[] = "@(#)devname.c 8.1 (Berkeley) 5/31/93";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
diff --git a/bin/ps/fmt.c b/bin/ps/fmt.c
index 8231c73..ceffa30 100644
--- a/bin/ps/fmt.c
+++ b/bin/ps/fmt.c
@@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: fmt.c,v 1.5 1995/03/09 20:40:17 davidg Exp $
+ * $Id: fmt.c,v 1.6 1995/10/23 21:03:40 ache Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)fmt.c 8.4 (Berkeley) 4/15/94";
+static char const sccsid[] = "@(#)fmt.c 8.4 (Berkeley) 4/15/94";
#endif /* not lint */
#include <sys/param.h>
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c
index 16cb8dd..7cd2419 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: keyword.c,v 1.8 1995/10/28 20:11:15 phk Exp $
+ * $Id: keyword.c,v 1.9 1996/07/31 09:27:23 davidg Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)keyword.c 8.5 (Berkeley) 4/2/94";
+static char const sccsid[] = "@(#)keyword.c 8.5 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/param.h>
diff --git a/bin/ps/nlist.c b/bin/ps/nlist.c
index 293a627..2e3be51 100644
--- a/bin/ps/nlist.c
+++ b/bin/ps/nlist.c
@@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: nlist.c,v 1.4 1994/10/02 08:33:29 davidg Exp $
+ * $Id: nlist.c,v 1.5 1994/11/24 13:13:55 davidg Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)nlist.c 8.4 (Berkeley) 4/2/94";
+static char const sccsid[] = "@(#)nlist.c 8.4 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/param.h>
diff --git a/bin/ps/print.c b/bin/ps/print.c
index 0d5a09f..5b7b40f 100644
--- a/bin/ps/print.c
+++ b/bin/ps/print.c
@@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: print.c,v 1.15 1996/06/29 10:25:31 peter Exp $
+ * $Id: print.c,v 1.16 1996/10/21 07:30:24 peter Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
+static char const sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
#endif /* not lint */
#include <sys/param.h>
@@ -475,7 +475,7 @@ p_rssize(k, ve) /* doesn't account for text */
#ifndef NEWVM
(void)printf("%*d", v->width, pgtok(KI_PROC(k)->p_rssize));
#else
- (void)printf("%*ld", v->width, pgtok(KI_EPROC(k)->e_vm.vm_rssize));
+ (void)printf("%*ld", v->width, (long)pgtok(KI_EPROC(k)->e_vm.vm_rssize));
#endif
}
@@ -637,7 +637,7 @@ tsize(k, ve)
#ifndef NEWVM
(void)printf("%*d", v->width, pgtok(KI_EPROC(k)->e_xsize));
#else
- (void)printf("%*ld", v->width, pgtok(KI_EPROC(k)->e_vm.vm_tsize));
+ (void)printf("%*ld", v->width, (long)pgtok(KI_EPROC(k)->e_vm.vm_tsize));
#endif
}
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index 0a91a8e..3b4bb46 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -30,17 +30,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ps.c,v 1.13 1996/10/21 07:30:26 peter Exp $
+ * $Id: ps.c,v 1.14 1996/11/10 06:13:12 hsu Exp $
*/
#ifndef lint
-static char copyright[] =
+static char const copyright[] =
"@(#) Copyright (c) 1990, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94";
+static char const sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/param.h>
OpenPOWER on IntegriCloud