From: Martin Wilck <mwilck@xxxxxxxx> Reviewed-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> --- multipathd/main.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/multipathd/main.c b/multipathd/main.c index 2642570..1cdbff1 100644 --- a/multipathd/main.c +++ b/multipathd/main.c @@ -116,19 +116,19 @@ struct mpath_event_param }; int uxsock_timeout; -int verbosity; -int bindings_read_only; +static int verbosity; +static int bindings_read_only; int ignore_new_devs; #ifdef NO_DMEVENTS_POLL -int poll_dmevents = 0; +static int poll_dmevents = 0; #else -int poll_dmevents = 1; +static int poll_dmevents = 1; #endif /* Don't access this variable without holding config_lock */ -volatile enum daemon_status running_state = DAEMON_INIT; +static volatile enum daemon_status running_state = DAEMON_INIT; pid_t daemon_pid; -pthread_mutex_t config_lock = PTHREAD_MUTEX_INITIALIZER; -pthread_cond_t config_cond; +static pthread_mutex_t config_lock = PTHREAD_MUTEX_INITIALIZER; +static pthread_cond_t config_cond; static inline enum daemon_status get_running_state(void) { -- 2.28.0 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel