Signed-off-by: Bart Van Assche <[email protected]>
---
libmpathpersist/mpath_persist.c | 1 +
libmpathpersist/mpathpr.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/libmpathpersist/mpath_persist.c b/libmpathpersist/mpath_persist.c
index edd4246..6cc6dbc 100644
--- a/libmpathpersist/mpath_persist.c
+++ b/libmpathpersist/mpath_persist.c
@@ -35,6 +35,7 @@
#define __STDC_FORMAT_MACROS 1
struct udev *udev;
+struct config *conf;
struct config *
mpath_lib_init (struct udev *udev)
diff --git a/libmpathpersist/mpathpr.h b/libmpathpersist/mpathpr.h
index cd58201..056c547 100644
--- a/libmpathpersist/mpathpr.h
+++ b/libmpathpersist/mpathpr.h
@@ -26,7 +26,7 @@ struct threadinfo {
};
-struct config * conf;
+extern struct config *conf;
int prin_do_scsi_ioctl(char * dev, int rq_servact, struct prin_resp * resp,
int noisy);
--
2.10.1
--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel