You've already forked hexagonrpc
mirror of
https://github.com/linux-msm/hexagonrpc.git
synced 2026-02-25 13:13:52 -08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user