Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorroland <roland>
Fri, 21 Jun 1996 21:01:00 +0000 (21:01 +0000)
committerroland <roland>
Fri, 21 Jun 1996 21:01:00 +0000 (21:01 +0000)
commite28f4a91c58de4696dc030dfee2a57dd50177c1c
treed4c5bf68f5678c1b45b7bfabac27813dbd7b7b74
parent34db3f3d8721691876e3ed43a54e44b58b1efb6a
Fri Jun 21 00:27:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
* sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
Use __{BEGIN,END}_DECLS.
(_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
* login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
New macros, moved here from sysdeps/gnu/utmpbits.h.
* sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
* sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
* login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
Use sizeof instead of UT_*SIZE.
* login/logwtmp.c: Likewise.
login/logout.c
login/logwtmp.c
login/utmp.h
sysdeps/generic/utmpbits.h
sysdeps/gnu/utmpbits.h
sysdeps/unix/sysv/utmpbits.h