fastrpc: hexagonrpcd: hexagonfs: mapped: set functions to static

These functions are only referenced in the same compilation unit to
define file operations. Set these functions to static so they don't get
exported directly for no reason.
This commit is contained in:
Richard Acayan
2023-06-05 18:07:40 -04:00
parent 23b7681f3f
commit 7dfd7d778c

View File

@@ -126,7 +126,7 @@ err:
return ret;
}
ssize_t mapped_read(struct hexagonfs_fd *fd, size_t size, void *out)
static ssize_t mapped_read(struct hexagonfs_fd *fd, size_t size, void *out)
{
struct mapped_ctx *ctx = fd->data;
ssize_t ret;
@@ -138,7 +138,7 @@ ssize_t mapped_read(struct hexagonfs_fd *fd, size_t size, void *out)
return ret;
}
int mapped_readdir(struct hexagonfs_fd *fd, size_t size, char *out)
static int mapped_readdir(struct hexagonfs_fd *fd, size_t size, char *out)
{
struct mapped_ctx *ctx = fd->data;
struct dirent *ent;