[dm-devel] [PATCH 2/7] libmultipath/configure.h: Add a forward declaration
Bart Van Assche
bart.vanassche at sandisk.com
Wed May 17 15:43:04 UTC 2017
This change avoids that the "#include "configure.h"" statements that
are added by the next patch trigger a compiler warning.
Signed-off-by: Bart Van Assche <bart.vanassche at sandisk.com>
---
libmultipath/configure.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libmultipath/configure.h b/libmultipath/configure.h
index fb078a61..fd7f581d 100644
--- a/libmultipath/configure.h
+++ b/libmultipath/configure.h
@@ -26,6 +26,8 @@ enum actions {
#define FLUSH_ONE 1
#define FLUSH_ALL 2
+struct vectors;
+
int setup_map (struct multipath * mpp, char * params, int params_size );
int domap (struct multipath * mpp, char * params, int is_daemon);
int reinstate_paths (struct multipath *mpp);
--
2.12.2
More information about the dm-devel
mailing list