(USER_PROCESS, RUN_LVL, INIT_PROCESS, LOGIN_PROCESS,
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 30 Nov 2004 21:41:09 +0000 (21:41 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 30 Nov 2004 21:41:09 +0000 (21:41 +0000)
commit3b3530057a13f0f40180924686c52f6239670db8
treeb21e86ec612a1072cda64a5522720589ae7937c0
parenta0d8525938e2e7c8d83083f795581f8ab6a5a28b
(USER_PROCESS, RUN_LVL, INIT_PROCESS, LOGIN_PROCESS,
DEAD_PROCESS, BOOT_TIME, NEW_TIME, UT_TYPE_UNDEF, UT_TYPE): Remove.
(IS_USER_PROCESS): Move to ../lib/readutmp.h.
(UT_TYPE_RUN_LVL, UT_TYPE_INIT_PROCESS, UT_TYPE_LOGIN_PROCESS,
UT_TYPE_DEAD_PROCESS, UT_TYPE_NEW_TIME): New macros.
(gethostname): Remove decl.
(list_entries_who, scan_entries): Use the new macros defined above,
for consistency with pinky, uptime, and users.
src/who.c