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:
Vladislav Bolkhovitin
2008-07-09 17:35:11 +00:00
parent 908e8f76dd
commit c9a7954315
+1 -1
View File
@@ -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);