]> granicus.if.org Git - shadow/commitdiff
* libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 28 Apr 2009 19:19:33 +0000 (19:19 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 28 Apr 2009 19:19:33 +0000 (19:19 +0000)
ChangeLog
libmisc/failure.h

index a1db8d1a49978e134e13c784512a160e774a823b..77939f128a9583d01d88f7f5754b3a17461ebd91 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX.
+
 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
 
        * libmisc/rlogin.c: Replace atoi() by getulong().
index c7bebcffd4edbf3742eaaec54379217557e7a980..13187a403279baafbbb05bfff778859e49b2e5bf 100644 (file)
 
 #include "defines.h"
 #include "faillog.h"
-#ifdef HAVE_UTMPX_H
+#ifdef USE_UTMPX
 #include <utmpx.h>
-#else
+#else                                  /* !USE_UTMPX */
 #include <utmp.h>
-#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