diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-11-30 21:41:31 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-11-30 21:41:31 +0000 |
commit | 525e6c12c317eb69e16e73dede8f6f8861ea66cd (patch) | |
tree | 15408b0fc9f5e75b8de951f1649bf9d73efbe313 /ChangeLog | |
parent | 3b3530057a13f0f40180924686c52f6239670db8 (diff) | |
download | coreutils-525e6c12c317eb69e16e73dede8f6f8861ea66cd.tar.xz |
Make readutmp more consistent among its client code.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -1,7 +1,24 @@ -2004-11-25 Paul Eggert <eggert@cs.ucla.edu> +2004-11-30 Paul Eggert <eggert@cs.ucla.edu> * Version 5.3.0. + * src/pinky.c (gethostname): Remove decl. + (scan_entries): Use IS_USER_PROCESS instead of by-hand code. + * src/uptime.c (print_uptime): Use IS_USER_PROCESS and + UT_TYPE_BOOT_TIME instead of by-hand code. + * src/users.c (list_entries_users): Use IS_USER_PROCESS + instead of by-hand code. + * src/who.c (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. + +2004-11-25 Paul Eggert <eggert@cs.ucla.edu> + Fix problem reported by Scott S. Tinsley for HP-UX 11.11 using HP's ANSI C compiler. Declaring int functions causes warnings on some modern systems and shouldn't be needed to compile on ancient |