1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-23 21:35:29 +03:00

cov: avoid recursive self-inclusion

Include: toolcontext.h -> dev-type.h -> label.h -> toolcontext.h
Replace with struct predeclaration.
This commit is contained in:
Zdenek Kabelac 2019-06-28 13:35:40 +02:00
parent 23478d9d21
commit 721a172edf

View File

@ -19,7 +19,6 @@
#include "uuid.h" #include "uuid.h"
#include "device.h" #include "device.h"
#include "bcache.h" #include "bcache.h"
#include "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;
void allow_reads_with_lvmetad(void); void allow_reads_with_lvmetad(void);