From: Martin Wilck <mwilck@xxxxxxxx> These structs are only used in print.c Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> --- libmultipath/print.c | 21 +++++++++++++++++++++ libmultipath/print.h | 21 --------------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/libmultipath/print.c b/libmultipath/print.c index 938eaad..4992cc8 100644 --- a/libmultipath/print.c +++ b/libmultipath/print.c @@ -100,6 +100,27 @@ #define PROGRESS_LEN 10 +struct path_data { + char wildcard; + char * header; + unsigned int width; + int (*snprint)(struct strbuf *, const struct path * pp); +}; + +struct multipath_data { + char wildcard; + char * header; + unsigned int width; + int (*snprint)(struct strbuf *, const struct multipath * mpp); +}; + +struct pathgroup_data { + char wildcard; + char * header; + unsigned int width; + int (*snprint)(struct strbuf *, const struct pathgroup * pgp); +}; + #define MAX(x,y) (((x) > (y)) ? (x) : (y)) #define MIN(x,y) (((x) > (y)) ? (y) : (x)) /* diff --git a/libmultipath/print.h b/libmultipath/print.h index b149275..4322f6e 100644 --- a/libmultipath/print.h +++ b/libmultipath/print.h @@ -9,27 +9,6 @@ struct strbuf; -struct path_data { - char wildcard; - char * header; - unsigned int width; - int (*snprint)(struct strbuf *, const struct path * pp); -}; - -struct multipath_data { - char wildcard; - char * header; - unsigned int width; - int (*snprint)(struct strbuf *, const struct multipath * mpp); -}; - -struct pathgroup_data { - char wildcard; - char * header; - unsigned int width; - int (*snprint)(struct strbuf *, const struct pathgroup * pgp); -}; - enum layout_reset { LAYOUT_RESET_NOT, LAYOUT_RESET_ZERO, -- 2.33.1 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/dm-devel