]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: remove redundard includes
authorKarel Zak <kzak@redhat.com>
Tue, 9 Jun 2020 08:53:14 +0000 (10:53 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 9 Jun 2020 08:53:14 +0000 (10:53 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/strutils.c
login-utils/login.c

index ce8799dd1d059b5c94ce85e0cee03d06ca74bf49..f506c4430e536878acf1262c337e6bdcbee7c834 100644 (file)
@@ -1046,7 +1046,6 @@ int skip_fline(FILE *fp)
 }
 
 #ifdef TEST_PROGRAM_STRUTILS
-#include <stdio.h>
 #include "xalloc.h"
 
 struct testS {
index b3aab9107111e65a49ea3fc0defa360b32acb80a..2a938ba126148a168928095ae73e586f46c58327 100644 (file)
@@ -99,7 +99,6 @@
 
 #if defined(HAVE_SCANDIRAT) && defined(HAVE_OPENAT)
 # include <dirent.h>
-# include "fileutils.h"
 # define MOTDDIR_SUPPORT
 # define MOTDDIR_EXT   ".motd"
 # define MOTDDIR_EXTSIZ        (sizeof(MOTDDIR_EXT) - 1)