diff mbox

[2/7] libmultipath/configure.h: Add a forward declaration

Message ID 20170517154309.17787-3-bart.vanassche@sandisk.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show

Commit Message

Bart Van Assche May 17, 2017, 3:43 p.m. UTC
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@sandisk.com>
---
 libmultipath/configure.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

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);