diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2011-07-03 14:42:32 +0200 |
|---|---|---|
| committer | schu <schu-github@schulog.org> | 2011-07-06 12:25:27 +0200 |
| commit | 1ee5fd903d00930aab08edecc6b409a34761cf7e (patch) | |
| tree | 076eef83fd6f8d462aa84779c45385de21b394d4 /src/fileops.h | |
| parent | 0ffcf78a30377971d4928439ae387396b3922cbf (diff) | |
| download | libgit2-1ee5fd903d00930aab08edecc6b409a34761cf7e.tar.gz | |
Fix windows specific issues
- msvc compilation warnings
- not released file handle that prevents file removal
Diffstat (limited to 'src/fileops.h')
| -rw-r--r-- | src/fileops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileops.h b/src/fileops.h index a2f66a5da..cd3ff2f10 100644 --- a/src/fileops.h +++ b/src/fileops.h @@ -106,7 +106,7 @@ extern git_off_t git_futils_filesize(git_file fd); extern int git_futils_rmdir_recurs(const char *path); /* Taken from git.git */ -static inline int is_dot_or_dotdot(const char *name) +GIT_INLINE(int) is_dot_or_dotdot(const char *name) { return (name[0] == '.' && (name[1] == '\0' || |
