summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-23 05:15:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-23 05:15:55 +0000
commit0051d96757570103211c19e8c4637e85da65b843 (patch)
treef738d2c573515050f415ac6ba4ec863c2b69708d
parent39a989e6f44f5834a3cda99da2ecfed7b3364bc1 (diff)
int32_t where possible; from netbsd
-rw-r--r--include/protocols/rwhod.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/protocols/rwhod.h b/include/protocols/rwhod.h
index 3833e59fce0..f46f30df7ee 100644
--- a/include/protocols/rwhod.h
+++ b/include/protocols/rwhod.h
@@ -44,21 +44,21 @@
struct outmp {
char out_line[8]; /* tty name */
char out_name[8]; /* user id */
- long out_time; /* time on */
+ int32_t out_time; /* time on */
};
struct whod {
char wd_vers; /* protocol version # */
char wd_type; /* packet type, see below */
char wd_pad[2];
- int wd_sendtime; /* time stamp by sender */
- int wd_recvtime; /* time stamp applied by receiver */
+ int32_t wd_sendtime; /* time stamp by sender */
+ int32_t wd_recvtime; /* time stamp applied by receiver */
char wd_hostname[32]; /* hosts's name */
- int wd_loadav[3]; /* load average as in uptime */
- int wd_boottime; /* time system booted */
+ int32_t wd_loadav[3]; /* load average as in uptime */
+ int32_t wd_boottime; /* time system booted */
struct whoent {
- struct outmp we_utmp; /* active tty info */
- int we_idle; /* tty idle time */
+ struct outmp we_utmp; /* active tty info */
+ int32_t we_idle; /* tty idle time */
} wd_we[1024 / sizeof (struct whoent)];
};