mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-26 04:07:45 +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
+1
-1
@@ -588,7 +588,7 @@ dbuf_is_metadata(dmu_buf_impl_t *db)
|
||||
* distributed between all sublists and uses this assumption when
|
||||
* deciding which sublist to evict from and how much to evict from it.
|
||||
*/
|
||||
unsigned int
|
||||
static unsigned int
|
||||
dbuf_cache_multilist_index_func(multilist_t *ml, void *obj)
|
||||
{
|
||||
dmu_buf_impl_t *db = obj;
|
||||
|
||||
Reference in New Issue
Block a user