summaryrefslogtreecommitdiff
path: root/src/posix.h
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2011-11-07 12:04:13 -0800
committerVicent Martí <tanoku@gmail.com>2011-11-07 12:04:13 -0800
commitb0b2dd5ecc2d309875e8dcd744fa5ff0a55b8fe5 (patch)
treee209c574270b89357a1891ed8ebb275e59db3ec9 /src/posix.h
parent38068dc1d3cf4a0f0dc2ce8c488a1de4621c04b5 (diff)
parent657a3951860f07cf26e2accfe2ada6d62ca5a9f5 (diff)
downloadlibgit2-b0b2dd5ecc2d309875e8dcd744fa5ff0a55b8fe5.tar.gz
Merge pull request #475 from carlosmn/perms
Fix Windows permissions problems
Diffstat (limited to 'src/posix.h')
-rw-r--r--src/posix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/posix.h b/src/posix.h
index 55cd35a38..c12b41364 100644
--- a/src/posix.h
+++ b/src/posix.h
@@ -45,6 +45,7 @@ extern int p_write(git_file fd, const void *buf, size_t cnt);
extern int p_open(const char *path, int flags);
extern int p_creat(const char *path, mode_t mode);
extern int p_getcwd(char *buffer_out, size_t size);
+extern int p_rename(const char *from, const char *to);
#ifndef GIT_WIN32