summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-05-03 06:23:28 +0000
committerguenther <guenther@openbsd.org>2015-05-03 06:23:28 +0000
commit7daefdb0f009ef3cfbe85810836e0071f902f7d3 (patch)
treed9000416cd0a3cf58bf0d4c5c30ebca490c2178d
parentadd missing CISS_UNLOCK_SCRATCH/splx calls (diff)
downloadwireguard-openbsd-7daefdb0f009ef3cfbe85810836e0071f902f7d3.tar.xz
wireguard-openbsd-7daefdb0f009ef3cfbe85810836e0071f902f7d3.zip
struct usave is unused, and eproc is gone; delete the former and
stop referencing them in comments
-rw-r--r--bin/ps/ps.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/bin/ps/ps.h b/bin/ps/ps.h
index 2c2b59305c1..689b1283543 100644
--- a/bin/ps/ps.h
+++ b/bin/ps/ps.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ps.h,v 1.9 2011/04/10 03:20:58 guenther Exp $ */
+/* $OpenBSD: ps.h,v 1.10 2015/05/03 06:23:28 guenther Exp $ */
/* $NetBSD: ps.h,v 1.11 1995/09/29 21:57:03 cgd Exp $ */
/*-
@@ -37,14 +37,6 @@ enum type {
INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64
};
-struct usave {
- struct timeval u_start;
- struct rusage u_ru;
- struct rusage u_cru;
- char u_acflag;
- char u_valid;
-};
-
/* Variables. */
typedef struct varent {
struct varent *next;
@@ -68,8 +60,8 @@ typedef struct var {
char parsed; /* have we been parsed yet? (avoid dupes) */
/*
* The following (optional) elements are hooks for passing information
- * to the generic output routines: pvar, evar, uvar (those which print
- * simple elements from well known structures: proc, eproc, usave)
+ * to the generic output routine, pvar(), which prints simple elements
+ * from struct kinfo_proc
*/
int off; /* offset in structure */
enum type type; /* type of element */