Whamcloud - gitweb
LU-4423 lustre: don't declare extern variables in C files. 94/35294/3
authorNeilBrown <neilb@suse.com>
Sun, 23 Jun 2019 13:34:50 +0000 (09:34 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 3 Jul 2019 03:16:23 +0000 (03:16 +0000)
commitb43c7cc6cba514687ebcbeaa1a7dcc8cf7ffa694
treed3705661ada076472153511cc2e73e3d3ec185af
parenta3c59c2823adadf4be50bc1bd48bb67909dc2bf0
LU-4423 lustre: don't declare extern variables in C files.

'extern' declarations should only appear in .h files.
All these names are declared in .h files as needed,
and these duplicate declarations in .c files can
be removed.

Test-Parameters: trivial

Change-Id: Ic563789f350fd21fd033f1d3c49cdac2125b86c5
Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-on: https://review.whamcloud.com/35294
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.super@gmail.com>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_pool.c
lustre/ldlm/ldlm_resource.c
lustre/ptlrpc/import.c
lustre/ptlrpc/nrs_tbf.c
lustre/ptlrpc/ptlrpc_module.c