Staging: lustre: Mark internal functions static in llog_cat.c
authorDarshana Padmadas <darshanapadmadas@gmail.com>
Sat, 28 Mar 2015 18:25:04 +0000 (23:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Apr 2015 15:35:46 +0000 (17:35 +0200)
commit4b80af40ebd61fcaaa9a2326a4ce401b5fe7c103
tree6238ed4c2e8a526404ddd8970a3306e993881ed9
parent0bf31f075c5138bab1a5d9c61798739424f51781
Staging: lustre: Mark internal functions static in llog_cat.c

This patch marks functions llog_cat_set_first_idx and cat_cancel_cb
static as these are used only within this file. Also since cat_cancel_cb
is made static do not export it.

This eliminates the following sparse warning:
warning: symbol * was not declared. Should it be static?

Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/llog_cat.c