summaryrefslogtreecommitdiffstats
path: root/login-utils
diff options
context:
space:
mode:
authorKarel Zak2008-11-26 14:35:31 +0100
committerKarel Zak2008-11-26 14:35:31 +0100
commitdf73ad460d83c5865ceaa7a09988020428e4caff (patch)
treeedc5e9b60a57a24b3184ef06e43ee726ce3b74f6 /login-utils
parenthwclock: clock.h is included more than once (diff)
downloadkernel-qcow2-util-linux-df73ad460d83c5865ceaa7a09988020428e4caff.tar.gz
kernel-qcow2-util-linux-df73ad460d83c5865ceaa7a09988020428e4caff.tar.xz
kernel-qcow2-util-linux-df73ad460d83c5865ceaa7a09988020428e4caff.zip
agetty: sys/types.h and time.h are included more than once
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils')
-rw-r--r--login-utils/agetty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/login-utils/agetty.c b/login-utils/agetty.c
index 10162273a..47dfa49fc 100644
--- a/login-utils/agetty.c
+++ b/login-utils/agetty.c
@@ -30,9 +30,9 @@
#include <getopt.h>
#include <time.h>
#include <sys/file.h>
-#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
+
#include "xstrncpy.h"
#include "nls.h"
#include "pathnames.h"
@@ -72,7 +72,6 @@
#ifdef SYSV_STYLE
#define ISSUE "/etc/issue" /* displayed before the login prompt */
#include <sys/utsname.h>
-#include <time.h>
#endif
#define LOGIN " login: " /* login prompt */