@@ -3,7 +3,6 @@
* Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
* All Rights Reserved.
*/
-#include <stdint.h>
#include <stdio.h>
#include "platform_defs.h"
#include "avl64.h"
@@ -4,11 +4,9 @@
* Author: Darrick J. Wong <darrick.wong@oracle.com>
*/
#include "xfs.h"
-#include <stdint.h>
#include <stdlib.h>
#include <assert.h>
#include <pthread.h>
-#include "platform_defs.h"
#include "avl64.h"
#include "list.h"
#include "bitmap.h"
@@ -3,10 +3,8 @@
* Copyright (c) 2003-2005 Silicon Graphics, Inc.
* All Rights Reserved.
*/
-#include "platform_defs.h"
#include "input.h"
#include <ctype.h>
-#include <stdbool.h>
size_t
numlen(
@@ -36,7 +36,6 @@
/* For endian conversion routines */
#include "xfs_arch.h"
#include "crc32defs.h"
-#include "crc32c.h"
/* types specifc to this file */
typedef __u8 u8;
@@ -3,7 +3,6 @@
* Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved.
*/
#include "libxfs.h"
-#include "fsgeom.h"
void
xfs_report_geom(
@@ -4,14 +4,10 @@
* All Rights Reserved.
*/
-#include <mntent.h>
#include <sys/stat.h>
-#include <sys/ioctl.h>
#include <sys/sysinfo.h>
#include "libxfs_priv.h"
-#include "xfs_fs.h"
-#include "init.h"
extern char *progname;
static int max_block_alignment;
@@ -1,5 +1,4 @@
/* List sorting code from Linux::lib/list_sort.c. */
-#include <stdlib.h>
#include <string.h>
#include "list.h"
@@ -4,8 +4,6 @@
* All Rights Reserved.
*/
-#include <paths.h>
-#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -14,8 +12,6 @@
#include <sys/stat.h>
#include "path.h"
#include "input.h"
-#include "project.h"
-#include <limits.h>
extern char *progname;
@@ -5,7 +5,6 @@
*/
#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
#include "project.h"
@@ -3,14 +3,11 @@
* Copyright (C) 2018 Oracle. All Rights Reserved.
* Author: Darrick J. Wong <darrick.wong@oracle.com>
*/
-#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <assert.h>
#include <pthread.h>
-#include <unistd.h>
-#include "platform_defs.h"
#include "ptvar.h"
/*
@@ -5,9 +5,6 @@
* Copyright (C) 2005 SGI, Christoph Lameter <clameter@sgi.com>
*/
#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-#include <stdint.h>
#include "platform_defs.h"
#include "radix-tree.h"
@@ -4,7 +4,6 @@
* All Rights Reserved.
*/
-#include "libxfs.h"
#include "libxcmd.h"
#ifdef ENABLE_BLKID
# include <blkid/blkid.h>
@@ -4,7 +4,6 @@
* All Rights Reserved.
*/
#include "platform_defs.h"
-#include "libfrog.h"
/*
* libfrog is a collection of miscellaneous userspace utilities.
@@ -4,7 +4,6 @@
* Author: Darrick J. Wong <darrick.wong@oracle.com>
*/
#include <pthread.h>
-#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
Signed-off-by: Eric Sandeen <sandeen@redhat.com> --- libfrog/avl64.c | 1 - libfrog/bitmap.c | 2 -- libfrog/convert.c | 2 -- libfrog/crc32.c | 1 - libfrog/fsgeom.c | 1 - libfrog/linux.c | 4 ---- libfrog/list_sort.c | 1 - libfrog/paths.c | 4 ---- libfrog/projects.c | 1 - libfrog/ptvar.c | 3 --- libfrog/radix-tree.c | 3 --- libfrog/topology.c | 1 - libfrog/util.c | 1 - libfrog/workqueue.c | 1 - 14 files changed, 26 deletions(-)