]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
libfrog: remove libxfs.h dependencies in fsgeom.c and linux.c
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 27 Feb 2020 19:22:19 +0000 (14:22 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 27 Feb 2020 19:22:19 +0000 (14:22 -0500)
libfrog isn't supposed to depend on libxfs, so don't include the header
file in the libfrog source code.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Allison Collins <allison.henderson@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libfrog/fsgeom.c
libfrog/linux.c

index 19a4911fcf085890f210a02a08a7f4123e0f30c5..bd93924ea795c44d74fded355b939dea95660bcf 100644 (file)
@@ -2,7 +2,9 @@
 /*
  * Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved.
  */
-#include "libxfs.h"
+#include "platform_defs.h"
+#include "xfs.h"
+#include "bitops.h"
 #include "fsgeom.h"
 #include "util.h"
 
index 79bd79eb9d16a891523a3d4e4ee5e3f8338196e3..41a168b47e77ac307d1bd94509635a5c5cedd292 100644 (file)
@@ -9,8 +9,8 @@
 #include <sys/ioctl.h>
 #include <sys/sysinfo.h>
 
-#include "libxfs_priv.h"
-#include "xfs_fs.h"
+#include "platform_defs.h"
+#include "xfs.h"
 #include "init.h"
 
 extern char *progname;