summaryrefslogtreecommitdiff
path: root/src/win32/posix.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-07-04 21:33:26 +0200
committerVicent Marti <tanoku@gmail.com>2011-07-04 21:33:26 +0200
commitd3789825d3823bdbbebe278172345243618ca541 (patch)
tree6d7a528c92076ca443e2ae226134dd1f40a642fa /src/win32/posix.h
parent843d01d27f4372de24b3255146cf0fda70b850c1 (diff)
downloadlibgit2-fileops.tar.gz
fileops: Fix stat() on directories for W32fileops
Diffstat (limited to 'src/win32/posix.h')
-rw-r--r--src/win32/posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/posix.h b/src/win32/posix.h
index 3b5bff806..90571ae1d 100644
--- a/src/win32/posix.h
+++ b/src/win32/posix.h
@@ -21,6 +21,6 @@ extern int p_unlink(const char *path);
extern int p_lstat(const char *file_name, struct stat *buf);
extern int p_readlink(const char *link, char *target, size_t target_len);
extern int p_hide_directory__w32(const char *path);
-extern int p_realpath(const char *orig_path, char *buffer);
+extern char *p_realpath(const char *orig_path, char *buffer);
#endif