staging: lustre: clean function declaration in super25.c up
authorBaoyou Xie <baoyou.xie@linaro.org>
Sat, 17 Sep 2016 13:41:39 +0000 (21:41 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Sep 2016 21:36:52 +0000 (23:36 +0200)
commitc276af40ef8d7cfbe257bd41a9d2501178de7e79
treeecae1ed9209268f1938c69e5f8d120425333dbd8
parent63ed97ecf79059c917eacf23ed6cd260bcaabd3b
staging: lustre: clean function declaration in super25.c up

We get 1 warning when building kernel with W=1:
drivers/staging/lustre/lnet/selftest/conctl.c:804:1: warning: no previous prototype for 'lstcon_ioctl_entry' [-Wmissing-prototypes]

In fact, this function is declared in
drivers/staging/lustre/lustre/llite/super25.c, but should be
moved into a header file, thus can be recognized in other file.

So this patch moves the declaration into
drivers/staging/lustre/lnet/selftest/console.h

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/selftest/console.c
drivers/staging/lustre/lnet/selftest/console.h