Skip to contentSkip to conversation

multipath-tools: remove duplicate headers

PATCH In review Xose Vazquez Perez 2 participants 2 messages Jul 17, 2024 – Jul 18, 2024 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: remove duplicate headers

Minimal cleaning done with scripts/checkincludes.pl

Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEVEL ML <[email protected]>

---
A deeper cleanup should be done with iwyu:
https://include-what-you-use.org

---
 libmpathutil/msort.c      | 1 -
 multipathd/cli_handlers.c | 1 -
 2 files changed, 2 deletions(-)
libmpathutil/msort.c +0 -1
index 2963486e..50f799d9 100644
@@ -21,7 +21,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
-#include <string.h>
 #include <errno.h>
 #include "msort.h"
 
multipathd/cli_handlers.c +0 -1
index 0106213e..7eb76337 100644
@@ -31,7 +31,6 @@
 #include "foreign.h"
 #include "strbuf.h"
 #include "cli_handlers.h"
-#include "devmapper.h"
 
 static struct path *
 find_path_by_str(const struct _vector *pathvec, const char *str,
Signature · 1 line
2.45.2