summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-11-30 21:41:31 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-11-30 21:41:31 +0000
commit525e6c12c317eb69e16e73dede8f6f8861ea66cd (patch)
tree15408b0fc9f5e75b8de951f1649bf9d73efbe313 /lib
parent3b3530057a13f0f40180924686c52f6239670db8 (diff)
downloadcoreutils-525e6c12c317eb69e16e73dede8f6f8861ea66cd.tar.xz
Make readutmp more consistent among its client code.
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 8760efafd..abefd19cf 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,15 @@
+2004-11-30 Paul Eggert <eggert@cs.ucla.edu>
+
+ * readutmp.c: Include readutmp.h first.
+ Include <errno.h>, since readutmp.h no longer does that.
+ * readutmp.h: Don't include <sys/types.h>, <errno.h>,
+ <sys/param.h>, <time.h>; not needed to establish interface.
+ Include <stddef.h> instead.
+ (errno): Remove decl.
+ (HAVE_STRUCT_XTMP_UT_TYPE): Remove; no longer needed.
+ (UT_TYPE_EQ, UT_TYPE_NOT_DEFINED, UT_TYPE_BOOT_TIME,
+ UT_TYPE_USER_PROCESS, IS_USER_PROCESS): New macros.
+
2004-11-30 Jim Meyering <jim@meyering.net>
Change the name of the robust chdir function from chdir to chdir_long.