]> granicus.if.org Git - shadow/commitdiff
* libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 28 Apr 2009 19:14:05 +0000 (19:14 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 28 Apr 2009 19:14:05 +0000 (19:14 +0000)
are no more needed.

ChangeLog
libmisc/chkname.c

index 909c99b14f9486de5c2a943502f2be880c8698f9..f42b662a3079697f5b1fc0e653128d90febaf569 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
-2009-04-27  Nicolas François  <nicolas.francois@centraliens.net>
+2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There
+       are no more needed.
+
+2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
 
        * libmisc/limits.c: Replace strtol() by getlong().
        * libmisc/limits.c: Replace HAVE_UTMPX_H by USE_UTMPX.
index 428acc1133d1c2703e91091b421a05dc852e21cf..64f5580c84e8f1905d118aa767b2ea1be748c723 100644 (file)
 #include <ctype.h>
 #include "defines.h"
 #include "chkname.h"
-#if HAVE_UTMPX_H
-#include <utmpx.h>
-#else
-#include <utmp.h>
-#endif
 
 static bool is_valid_name (const char *name)
 {