multipath-tools: memory.h is referred to the local header
authorXose Vazquez Perez <xose.vazquez@gmail.com>
Wed, 20 Jul 2016 13:15:49 +0000 (15:15 +0200)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Fri, 22 Jul 2016 09:32:41 +0000 (11:32 +0200)
It could be removed from these files because it's already included in
the hierarchy of the headers. As it's shown in the headers tree,
(multipathd/cli.c): https://drive.google.com/file/d/0B_B6YmEmO7cDeWVaMDViekRldW8

Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: device-mapper development <dm-devel@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
libmultipath/log_pthread.c
libmultipath/prioritizers/weightedpath.c
multipath/main.c
multipathd/cli.c
multipathd/cli_handlers.c
multipathd/main.c
multipathd/uxlsnr.c

index 4d85de5..035ae5d 100644 (file)
@@ -8,7 +8,7 @@
 #include <pthread.h>
 #include <sys/mman.h>
 
-#include <memory.h>
+#include "memory.h"
 
 #include "log_pthread.h"
 #include "log.h"
index dc26f30..e8168fe 100644 (file)
@@ -29,7 +29,7 @@
 #include "weightedpath.h"
 #include "config.h"
 #include "structs.h"
-#include <memory.h>
+#include "memory.h"
 #include "debug.h"
 #include <regex.h>
 #include "structs_vec.h"
index 7dba54e..6ccece7 100644 (file)
@@ -33,7 +33,7 @@
 #include "checkers.h"
 #include "prio.h"
 #include "vector.h"
-#include <memory.h>
+#include "memory.h"
 #include <libdevmapper.h>
 #include "devmapper.h"
 #include "util.h"
index 2b6f50c..3663c0a 100644 (file)
@@ -4,7 +4,7 @@
 #include <sys/time.h>
 #include <errno.h>
 #include <pthread.h>
-#include <memory.h>
+#include "memory.h"
 #include "vector.h"
 #include "structs.h"
 #include "structs_vec.h"
index a694271..8ff4362 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (c) 2005 Christophe Varoqui
  */
 #include "checkers.h"
-#include <memory.h>
+#include "memory.h"
 #include "vector.h"
 #include "structs.h"
 #include "structs_vec.h"
index 6a86314..0e27476 100644 (file)
@@ -40,7 +40,7 @@ int uxsock_timeout;
  */
 #include "parser.h"
 #include "vector.h"
-#include <memory.h>
+#include "memory.h"
 #include "config.h"
 #include "util.h"
 #include "hwtable.h"
index 4fce585..8ab55ea 100644 (file)
@@ -23,7 +23,7 @@
 #include <sys/time.h>
 #include <signal.h>
 #include "checkers.h"
-#include <memory.h>
+#include "memory.h"
 #include "debug.h"
 #include "vector.h"
 #include "structs.h"