Make private helper function static in fs_darwin.cpp in order to not pollute
the public namespace.
This commit is contained in:
parent
5d043aeb0f
commit
fd1d8a6031
@ -19,11 +19,12 @@
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
int get_path(int fd, const char* path, char fullPath[]);
|
||||
int eaccess(const char* path, int accessMode);
|
||||
// Private helper functions
|
||||
static int get_path(int fd, const char* path, char fullPath[]);
|
||||
static int eaccess(const char* path, int accessMode);
|
||||
|
||||
|
||||
int
|
||||
static int
|
||||
get_path(int fd, const char* path, char fullPath[])
|
||||
{
|
||||
struct stat dirst;
|
||||
@ -54,7 +55,7 @@ get_path(int fd, const char* path, char fullPath[])
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
static int
|
||||
eaccess(const char* path, int accessMode)
|
||||
{
|
||||
uid_t uid = geteuid();
|
||||
|
Loading…
x
Reference in New Issue
Block a user