]> err.no Git - util-linux/commitdiff
login: cleanup includes
authorKarel Zak <kzak@redhat.com>
Wed, 26 Nov 2008 13:38:36 +0000 (14:38 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 26 Nov 2008 13:38:36 +0000 (14:38 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/login.c

index 1ae183cad6daf90bbc5487f4184b0830a10d5956..d362113589ef0b7c83e2f7271b62d68b2fe4be80 100644 (file)
 #include <utmp.h>
 #include <setjmp.h>
 #include <stdlib.h>
-#include <string.h>
 #include <sys/syslog.h>
 #include <sys/sysmacros.h>
+#include <linux/major.h>
 #include <netdb.h>
 #ifdef HAVE_LIBAUDIT
 # include <libaudit.h>
 #endif
+
 #include "pathnames.h"
 #include "my_crypt.h"
 #include "login.h"
 #include "xstrncpy.h"
 #include "nls.h"
 
-#include <sys/sysmacros.h>
-#include <linux/major.h>
-
-#include <utmp.h>
 
 #ifdef HAVE_SECURITY_PAM_MISC_H
 #  include <security/pam_appl.h>