aboutsummaryrefslogtreecommitdiff
path: root/include/rpcsvc/rstat.x
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpcsvc/rstat.x')
-rw-r--r--include/rpcsvc/rstat.x18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/rpcsvc/rstat.x b/include/rpcsvc/rstat.x
index 51839658fa15..2099b4f4994d 100644
--- a/include/rpcsvc/rstat.x
+++ b/include/rpcsvc/rstat.x
@@ -47,13 +47,13 @@
%#ifndef lint
%/*static char sccsid[] = "from: @(#)rstat.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/
%/*static char sccsid[] = "from: @(#)rstat.x 2.2 88/08/01 4.0 RPCSRC";*/
-%static char rcsid[] = "$Id: rstat.x,v 1.1 1993/09/14 17:42:50 jtc Exp $";
+%static char rcsid[] = "$Id: rstat.x,v 1.3 1993/11/30 20:31:41 ats Exp $";
%#endif /* not lint */
#endif /* def RPC_HDR */
-const CPUSTATES = 4;
-const DK_NDRIVE = 4;
+const RSTAT_CPUSTATES = 4;
+const RSTAT_DK_NDRIVE = 4;
/*
* GMT since 0:00, January 1, 1970
@@ -64,8 +64,8 @@ struct rstat_timeval {
};
struct statstime { /* RSTATVERS_TIME */
- int cp_time[CPUSTATES];
- int dk_xfer[DK_NDRIVE];
+ int cp_time[RSTAT_CPUSTATES];
+ int dk_xfer[RSTAT_DK_NDRIVE];
unsigned int v_pgpgin; /* these are cumulative sum */
unsigned int v_pgpgout;
unsigned int v_pswpin;
@@ -83,8 +83,8 @@ struct statstime { /* RSTATVERS_TIME */
};
struct statsswtch { /* RSTATVERS_SWTCH */
- int cp_time[CPUSTATES];
- int dk_xfer[DK_NDRIVE];
+ int cp_time[RSTAT_CPUSTATES];
+ int dk_xfer[RSTAT_DK_NDRIVE];
unsigned int v_pgpgin; /* these are cumulative sum */
unsigned int v_pgpgout;
unsigned int v_pswpin;
@@ -101,8 +101,8 @@ struct statsswtch { /* RSTATVERS_SWTCH */
};
struct stats { /* RSTATVERS_ORIG */
- int cp_time[CPUSTATES];
- int dk_xfer[DK_NDRIVE];
+ int cp_time[RSTAT_CPUSTATES];
+ int dk_xfer[RSTAT_DK_NDRIVE];
unsigned int v_pgpgin; /* these are cumulative sum */
unsigned int v_pgpgout;
unsigned int v_pswpin;