mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 05:06:31 +00:00
Add the "static" qualifier to function that isn't being declared
(in h file) or exported to fix the following sparse warning: /scst/trunk/iscsi-scst/kernel/iscsi.c:166:6: warning: symbol 'cmnd_free' was not declared. Should it be static? Signed-off-by: Dotan Barak <dotanba@gmail.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@448 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -163,7 +163,7 @@ struct iscsi_cmnd *cmnd_alloc(struct iscsi_conn *conn, struct iscsi_cmnd *parent
|
||||
}
|
||||
|
||||
/* Frees a command. Also frees the additional header. */
|
||||
void cmnd_free(struct iscsi_cmnd *cmnd)
|
||||
static void cmnd_free(struct iscsi_cmnd *cmnd)
|
||||
{
|
||||
TRACE_DBG("%p", cmnd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user