[dm-devel] [PATCH 14/15] libmultipath/checkers: Make the compiler check the checker function prototypes

Bart Van Assche bart.vanassche at sandisk.com
Fri Oct 21 18:46:36 UTC 2016


Signed-off-by: Bart Van Assche <bart.vanassche at sandisk.com>
---
 libmultipath/checkers.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libmultipath/checkers.h b/libmultipath/checkers.h
index 4fb97c9..fedc330 100644
--- a/libmultipath/checkers.h
+++ b/libmultipath/checkers.h
@@ -142,4 +142,10 @@ char * checker_message (struct checker *);
 void checker_clear_message (struct checker *c);
 void checker_get (char *, struct checker *, char *);
 
+/* Functions exported by path checker dynamic libraries (.so) */
+int libcheck_check(struct checker *);
+int libcheck_init(struct checker *);
+void libcheck_free(struct checker *);
+void libcheck_repair(struct checker *);
+
 #endif /* _CHECKERS_H */
-- 
2.10.1




More information about the dm-devel mailing list