btrfs-progs: libbtrfs: drop radix-tree.h from exported headers

The header is only included from ctree.h but not actually used, we can
drop it from the exported files.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2021-09-22 20:23:12 +02:00
parent aaf13469c0
commit 38356d456b
7 changed files with 5 additions and 5 deletions

View file

@ -215,7 +215,7 @@ libbtrfs_objects = \
libbtrfs_headers = libbtrfs/send-stream.h libbtrfs/send-utils.h kernel-shared/send.h kernel-lib/rbtree.h \
crypto/crc32c.h kernel-lib/list.h kerncompat.h \
kernel-lib/radix-tree.h kernel-lib/sizes.h \
kernel-lib/sizes.h \
common/extent-cache.h kernel-shared/extent_io.h ioctl.h \
kernel-shared/ctree.h version.h
libbtrfsutil_major := $(shell sed -rn 's/^\#define BTRFS_UTIL_VERSION_MAJOR ([0-9])+$$/\1/p' libbtrfsutil/btrfsutil.h)

View file

@ -30,6 +30,7 @@
#include "kernel-shared/print-tree.h"
#include "kernel-shared/transaction.h"
#include "kernel-lib/list.h"
#include "kernel-lib/radix-tree.h"
#include "common/utils.h"
#include "common/help.h"

View file

@ -28,6 +28,7 @@
#include "kernel-shared/print-tree.h"
#include "kernel-shared/transaction.h"
#include "kernel-lib/list.h"
#include "kernel-lib/radix-tree.h"
#include "common/utils.h"
#include "common/help.h"

View file

@ -28,6 +28,7 @@
#include "kernel-shared/print-tree.h"
#include "kernel-shared/transaction.h"
#include "kernel-lib/list.h"
#include "kernel-lib/radix-tree.h"
#include "common/utils.h"
#include "common/help.h"
#include "common/open-utils.h"

View file

@ -26,6 +26,7 @@
#include <getopt.h>
#include <uuid/uuid.h>
#include <time.h>
#include "kernel-lib/radix-tree.h"
#include "kernel-shared/ctree.h"
#include "kernel-shared/volumes.h"
#include "common/repair.h"

View file

@ -24,7 +24,6 @@
#if BTRFS_FLAT_INCLUDES
#include "kernel-lib/list.h"
#include "kerncompat.h"
#include "kernel-lib/radix-tree.h"
#include "common/extent-cache.h"
#include "kernel-shared/extent_io.h"
#include "ioctl.h"
@ -33,7 +32,6 @@
#else
#include <btrfs/list.h>
#include <btrfs/kerncompat.h>
#include <btrfs/radix-tree.h>
#include <btrfs/extent-cache.h>
#include <btrfs/extent_io.h>
#include <btrfs/ioctl.h>

View file

@ -20,7 +20,6 @@
#include "kerncompat.h"
#include "version.h"
#include "kernel-lib/rbtree.h"
#include "kernel-lib/radix-tree.h"
#include "crypto/crc32c.h"
#include "kernel-lib/list.h"
#include "kernel-lib/sizes.h"
@ -39,7 +38,6 @@
#include "btrfs/kerncompat.h"
#include "btrfs/version.h"
#include "btrfs/rbtree.h"
#include "btrfs/radix-tree.h"
#include "btrfs/crc32c.h"
#include "btrfs/list.h"
#include "btrfs/sizes.h"