summaryrefslogtreecommitdiff
path: root/src/posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/posix.c')
-rw-r--r--src/posix.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/posix.c b/src/posix.c
index fb8ce37cb..1b85b053d 100644
--- a/src/posix.c
+++ b/src/posix.c
@@ -39,15 +39,6 @@ int p_getcwd(char *buffer_out, size_t size)
return GIT_SUCCESS;
}
-char* p_getenv(const char* name)
-{
- char* buf = getenv(name);
- if (!buf)
- return buf;
-
- return git__strdup(buf);
-}
-
#endif
int p_read(git_file fd, void *buf, size_t cnt)