]> git.karo-electronics.de Git - linux-beck.git/commit
Staging: lustre: Fix externs should be avoided in .c
authorHaneen Mohammed <hamohammed.sa@gmail.com>
Sun, 1 Mar 2015 00:34:11 +0000 (03:34 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 00:49:16 +0000 (16:49 -0800)
commitfe0eb1729e908229c472fd339f8dac44f203ec54
treeea8e61480f23cb6681176f5ea549c795362257b1
parentd3422d5ef09953bc5bb7468e98d8d12bad0a95c6
Staging: lustre: Fix externs should be avoided in .c

This patch moves extern declaration to ldlm_internal.h.
Remove prototype from ldlm_lockd.c and ldlm_lock.c.
Issue addressed by checkpatch.pl.

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ldlm/ldlm_internal.h
drivers/staging/lustre/lustre/ldlm/ldlm_lock.c
drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c