From: nekral-guest Date: Tue, 28 Apr 2009 19:19:33 +0000 (+0000) Subject: * libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX. X-Git-Tag: 4.1.4~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5188d2f05f2f70ce590de0f930838c09a3f9427;p=shadow * libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX. --- diff --git a/ChangeLog b/ChangeLog index a1db8d1a..77939f12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-04-28 Nicolas François + + * libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX. + 2009-04-28 Nicolas François * libmisc/rlogin.c: Replace atoi() by getulong(). diff --git a/libmisc/failure.h b/libmisc/failure.h index c7bebcff..13187a40 100644 --- a/libmisc/failure.h +++ b/libmisc/failure.h @@ -36,11 +36,11 @@ #include "defines.h" #include "faillog.h" -#ifdef HAVE_UTMPX_H +#ifdef USE_UTMPX #include -#else +#else /* !USE_UTMPX */ #include -#endif +#endif /* !USE_UTMPX */ /* * failure - make failure entry @@ -74,11 +74,11 @@ extern void failprint (const struct faillog *); * failtmp updates the (struct utmp) formatted failure log which * maintains a record of all login failures. */ -#ifdef HAVE_UTMPX_H +#ifdef USE_UTMPX extern void failtmp (const char *username, const struct utmpx *); -#else +#else /* !USE_UTMPX */ extern void failtmp (const char *username, const struct utmp *); -#endif +#endif /* !USE_UTMPX */ #endif