From: Jeremiah Mahler Date: Sat, 27 Dec 2014 20:46:46 +0000 (-0800) Subject: staging: lustre: selftest: fix "not declared" by declaring in header X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8f67fe2cd1ded2d8e5736f04064eabe51bd69712;p=openwrt%2Fstaging%2Fblogic.git staging: lustre: selftest: fix "not declared" by declaring in header Fix several "symbol '...' was not declared" sparse warnings which are caused by global variables by declaring them in the header file. Signed-off-by: Jeremiah Mahler Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lnet/selftest/selftest.h b/drivers/staging/lustre/lnet/selftest/selftest.h index 9b5c5df6eb2c..d48701834b18 100644 --- a/drivers/staging/lustre/lnet/selftest/selftest.h +++ b/drivers/staging/lustre/lnet/selftest/selftest.h @@ -609,4 +609,16 @@ srpc_wait_service_shutdown(srpc_service_t *sv) } } +extern sfw_test_client_ops_t brw_test_client; +void brw_init_test_client(void); + +extern srpc_service_t brw_test_service; +void brw_init_test_service(void); + +extern sfw_test_client_ops_t ping_test_client; +void ping_init_test_client(void); + +extern srpc_service_t ping_test_service; +void ping_init_test_service(void); + #endif /* __SELFTEST_SELFTEST_H__ */