mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
Mark functions as static
Mark functions used only in the same translation unit as static. This only includes functions that do not have a prototype in a header file either. Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Closes #10470
This commit is contained in:
committed by
Brian Behlendorf
parent
1fa5c7af33
commit
65c7cc49bf
@@ -872,7 +872,7 @@ kcf_free_req(kcf_areq_node_t *areq)
|
||||
* Utility routine to remove a request from the chain of requests
|
||||
* hanging off a context.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
kcf_removereq_in_ctxchain(kcf_context_t *ictx, kcf_areq_node_t *areq)
|
||||
{
|
||||
kcf_areq_node_t *cur, *prev;
|
||||
@@ -909,7 +909,7 @@ kcf_removereq_in_ctxchain(kcf_context_t *ictx, kcf_areq_node_t *areq)
|
||||
*
|
||||
* The caller must hold the queue lock and request lock (an_lock).
|
||||
*/
|
||||
void
|
||||
static void
|
||||
kcf_remove_node(kcf_areq_node_t *node)
|
||||
{
|
||||
kcf_areq_node_t *nextp = node->an_next;
|
||||
|
||||
Reference in New Issue
Block a user