1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

cov: avoid selfrecursive inclusion of toolcontext.h

This commit is contained in:
Zdenek Kabelac 2018-10-15 16:50:25 +02:00
parent fdd76da33d
commit 06a4a356db
2 changed files with 4 additions and 1 deletions

View File

@ -16,6 +16,7 @@
#include "base/memory/zalloc.h" #include "base/memory/zalloc.h"
#include "lib/misc/lib.h" #include "lib/misc/lib.h"
#include "lib/filters/filter.h" #include "lib/filters/filter.h"
#include "lib/commands/toolcontext.h"
#ifdef __linux__ #ifdef __linux__

View File

@ -19,7 +19,6 @@
#include "lib/uuid/uuid.h" #include "lib/uuid/uuid.h"
#include "lib/device/device.h" #include "lib/device/device.h"
#include "lib/device/bcache.h" #include "lib/device/bcache.h"
#include "lib/commands/toolcontext.h"
#define LABEL_ID "LABELONE" #define LABEL_ID "LABELONE"
#define LABEL_SIZE SECTOR_SIZE /* Think very carefully before changing this */ #define LABEL_SIZE SECTOR_SIZE /* Think very carefully before changing this */
@ -27,6 +26,9 @@
#define LABEL_SCAN_SIZE (LABEL_SCAN_SECTORS << SECTOR_SHIFT) #define LABEL_SCAN_SIZE (LABEL_SCAN_SECTORS << SECTOR_SHIFT)
struct labeller; struct labeller;
struct dev_filter;
struct cmd_context;
struct logical_volume;
/* On disk - 32 bytes */ /* On disk - 32 bytes */
struct label_header { struct label_header {