mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +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:
parent
23478d9d21
commit
721a172edf
@ -19,7 +19,6 @@
|
||||
#include "uuid.h"
|
||||
#include "device.h"
|
||||
#include "bcache.h"
|
||||
#include "toolcontext.h"
|
||||
|
||||
#define LABEL_ID "LABELONE"
|
||||
#define LABEL_SIZE SECTOR_SIZE /* Think very carefully before changing this */
|
||||
@ -27,6 +26,9 @@
|
||||
#define LABEL_SCAN_SIZE (LABEL_SCAN_SECTORS << SECTOR_SHIFT)
|
||||
|
||||
struct labeller;
|
||||
struct dev_filter;
|
||||
struct cmd_context;
|
||||
struct logical_volume;
|
||||
|
||||
void allow_reads_with_lvmetad(void);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user