build-sys: fix 'make checkincludes' warnings
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
b18830295d
commit
ce75b60528
|
@ -29,7 +29,6 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <signal.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/file.h>
|
||||
#include <fcntl.h>
|
||||
|
|
|
@ -11,11 +11,9 @@
|
|||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <inttypes.h>
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
|
||||
struct sysfs_cxt {
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
@ -994,7 +993,6 @@ char *loopdev_find_by_backing_file(const char *filename, uint64_t offset, int fl
|
|||
#ifdef TEST_PROGRAM_LOOPDEV
|
||||
#include <errno.h>
|
||||
#include <err.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
static void test_loop_info(const char *device, int flags)
|
||||
{
|
||||
|
|
|
@ -97,8 +97,6 @@ int proc_next_tid(struct proc_tasks *tasks, pid_t *tid)
|
|||
|
||||
#ifdef TEST_PROGRAM
|
||||
|
||||
#include "c.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
pid_t tid, pid;
|
||||
|
|
|
@ -19,9 +19,7 @@
|
|||
#include <time.h>
|
||||
#include <sys/stat.h>
|
||||
#include <netdb.h>
|
||||
#include <sys/socket.h>
|
||||
#include <syslog.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include <ctype.h>
|
||||
|
|
|
@ -31,8 +31,6 @@
|
|||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
#include <libmount.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue