master - cov: avoid selfrecursive inclusion of toolcontext.h
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=06a4a356dbd320e23bd95e1feb045e91c63f3d51 Commit: 06a4a356dbd320e23bd95e1feb045e91c63f3d51 Parent: fdd76da33dabcb6bd696f22413a692b9900d5bcc Author: Zdenek Kabelac <[email protected]> AuthorDate: Mon Oct 15 16:50:25 2018 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon Oct 15 17:49:44 2018 +0200
cov: avoid selfrecursive inclusion of toolcontext.h
--- lib/filters/filter-md.c | 1 + lib/label/label.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletions(-)
lib/filters/filter-md.c +1 -0
@@ -16,6 +16,7 @@#include "base/memory/zalloc.h" #include "lib/misc/lib.h" #include "lib/filters/filter.h" +#include "lib/commands/toolcontext.h" #ifdef __linux__
lib/label/label.h +3 -1
@@ -19,7 +19,6 @@#include "lib/uuid/uuid.h" #include "lib/device/device.h" #include "lib/device/bcache.h" -#include "lib/commands/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 ;/* On disk - 32 bytes */ struct label_header {