Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> --- multipathd/uxlsnr.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/multipathd/uxlsnr.c b/multipathd/uxlsnr.c index 020d7a9b..1c5ce9d2 100644 --- a/multipathd/uxlsnr.c +++ b/multipathd/uxlsnr.c @@ -40,7 +40,7 @@ #include "cli.h" #include "uxlsnr.h" -struct timespec sleep_time = {5, 0}; +static struct timespec sleep_time = {5, 0}; struct client { struct list_head node; @@ -49,9 +49,9 @@ struct client { #define MIN_POLLS 1023 -LIST_HEAD(clients); -pthread_mutex_t client_lock = PTHREAD_MUTEX_INITIALIZER; -struct pollfd *polls; +static LIST_HEAD(clients); +static pthread_mutex_t client_lock = PTHREAD_MUTEX_INITIALIZER; +static struct pollfd *polls; static int notify_fd = -1; static char *watch_config_dir; @@ -122,13 +122,13 @@ static void dead_client(struct client *c) pthread_cleanup_pop(1); } -void free_polls (void) +static void free_polls (void) { if (polls) FREE(polls); } -void check_timeout(struct timespec start_time, char *inbuf, +static void check_timeout(struct timespec start_time, char *inbuf, unsigned int timeout) { struct timespec diff_time, end_time; -- 2.17.2 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel