* libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX.
This commit is contained in:
parent
6547cbda6f
commit
a5188d2f05
@ -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().
|
||||
|
@ -36,11 +36,11 @@
|
||||
|
||||
#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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user