summaryrefslogtreecommitdiffstats
path: root/usr.bin/rusers/rusers.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2002-01-19 23:20:02 +0000
committerdillon <dillon@FreeBSD.org>2002-01-19 23:20:02 +0000
commitc3dbbbabdf7c1b6b8d7fe43ade44b555671e1c67 (patch)
tree262f00c422f3272c4031c870d746ed14c2f757d5 /usr.bin/rusers/rusers.c
parent6f44d9644f580c480b97e8c64ced8a7be849944e (diff)
downloadFreeBSD-src-c3dbbbabdf7c1b6b8d7fe43ade44b555671e1c67.zip
FreeBSD-src-c3dbbbabdf7c1b6b8d7fe43ade44b555671e1c67.tar.gz
I've been meaning to do this for a while. Add an underscore to the
time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx() instead of time_to_xxx(), to make it more obvious that these are stopgap functions & placemarkers and not meant to create a defacto standard. They will eventually be replaced when a real standard comes out of committee.
Diffstat (limited to 'usr.bin/rusers/rusers.c')
-rw-r--r--usr.bin/rusers/rusers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/rusers/rusers.c b/usr.bin/rusers/rusers.c
index a401bfa..bd275b5 100644
--- a/usr.bin/rusers/rusers.c
+++ b/usr.bin/rusers/rusers.c
@@ -115,7 +115,7 @@ rusers_reply(caddr_t replyp, struct sockaddr_in *raddrp)
printf("%-*s ", HOST_WIDTH, host);
for (x = 0; x < up->utmpidlearr_len; x++) {
- time_t t = int_to_time(up->utmpidlearr_val[x].ui_utmp.ut_time);
+ time_t t = _int_to_time(up->utmpidlearr_val[x].ui_utmp.ut_time);
strncpy(date, &(ctime(&t)[4]), sizeof(date) - 1);
idle = up->utmpidlearr_val[x].ui_idle;
OpenPOWER on IntegriCloud