remove duplicate includes
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
e5b17b316a
commit
218f9d3d66
|
@ -13,7 +13,6 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
#include <sched.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -277,10 +277,6 @@ char *size_to_human_string(uint64_t bytes)
|
|||
|
||||
#ifdef TEST_PROGRAM
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <err.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
uintmax_t size = 0;
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <getopt.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <stdint.h>
|
||||
|
|
|
@ -955,8 +955,6 @@ find_unused_loop_device (void) {
|
|||
#include <getopt.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "strutils.h"
|
||||
|
||||
static void
|
||||
usage(FILE *f) {
|
||||
fprintf(f, _("\nUsage:\n"
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdint.h>
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
@ -27,8 +27,6 @@
|
|||
#include <selinux/context.h>
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
#include "nls.h"
|
||||
#include "mountP.h"
|
||||
|
||||
|
|
|
@ -817,8 +817,6 @@ int mnt_update_tab(mnt_update *upd, mnt_lock *lc)
|
|||
|
||||
#ifdef TEST_PROGRAM
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
mnt_lock *lock;
|
||||
|
||||
static void lock_fallback(void)
|
||||
|
|
Loading…
Reference in New Issue