Message ID | 20171212004503.12823-3-bart.vanassche@wdc.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | christophe varoqui |
Headers | show |
On Mon, 2017-12-11 at 16:45 -0800, Bart Van Assche wrote: > Global variables should be defined after the header file with > their declaration has been included. Hence move the declaration > of usock_timeout further down. > > Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> > --- > multipathd/main.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > Reviewed-by: Martin Wilck <mwilck@suse.com>
diff --git a/multipathd/main.c b/multipathd/main.c index 31ce923385a7..d611597a4ef8 100644 --- a/multipathd/main.c +++ b/multipathd/main.c @@ -39,8 +39,6 @@ static int use_watchdog; #endif -int uxsock_timeout; - /* * libmultipath */ @@ -106,6 +104,7 @@ struct mpath_event_param }; int logsink; +int uxsock_timeout; int verbosity; int bindings_read_only; int ignore_new_devs;
Global variables should be defined after the header file with their declaration has been included. Hence move the declaration of usock_timeout further down. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> --- multipathd/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)