Make private helper function static in fs_darwin.cpp in order to not pollute

the public namespace.
This commit is contained in:
John Scipione 2012-03-15 16:36:48 -04:00
parent 5d043aeb0f
commit fd1d8a6031

View File

@ -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();