mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 03:08:51 +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
@@ -30,6 +30,9 @@
|
||||
#include <sys/zfs_sa.h>
|
||||
#include <sys/zfs_acl.h>
|
||||
|
||||
#ifndef _KERNEL
|
||||
static
|
||||
#endif
|
||||
void
|
||||
zfs_oldace_byteswap(ace_t *ace, int ace_cnt)
|
||||
{
|
||||
@@ -46,6 +49,9 @@ zfs_oldace_byteswap(ace_t *ace, int ace_cnt)
|
||||
/*
|
||||
* swap ace_t and ace_object_t
|
||||
*/
|
||||
#ifndef _KERNEL
|
||||
static
|
||||
#endif
|
||||
void
|
||||
zfs_ace_byteswap(void *buf, size_t size, boolean_t zfs_layout)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user