diff options
author | Sven Strickroth <email@cs-ware.de> | 2012-09-29 21:26:32 +0200 |
---|---|---|
committer | Sven Strickroth <email@cs-ware.de> | 2012-09-29 21:31:19 +0200 |
commit | 19aa8416e59e6c8f01c6b850ce6bb3e2f7457236 (patch) | |
tree | 76f5b26fd7fe5c12fc0eb50ac8d44b5694f12c17 /src/fileops.c | |
parent | dee18b825afd031e8f124a9b2d2a578a79988eda (diff) | |
download | libgit2-19aa8416e59e6c8f01c6b850ce6bb3e2f7457236.tar.gz |
Silence MinGW warnings
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Diffstat (limited to 'src/fileops.c')
-rw-r--r-- | src/fileops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileops.c b/src/fileops.c index 2bdea91c7..cbc7419e0 100644 --- a/src/fileops.c +++ b/src/fileops.c @@ -469,7 +469,7 @@ nullterm: return (orgsrc != src) ? (wchar_t *)src : NULL; } -int win32_find_system_file_using_path(git_buf *path, const char *filename) +static int win32_find_system_file_using_path(git_buf *path, const char *filename) { wchar_t * env = NULL; struct win32_path root; @@ -502,7 +502,7 @@ int win32_find_system_file_using_path(git_buf *path, const char *filename) return GIT_ENOTFOUND; } -int win32_find_system_file_using_registry(git_buf *path, const char *filename) +static int win32_find_system_file_using_registry(git_buf *path, const char *filename) { #ifndef _WIN64 #define REG_MSYSGIT_INSTALL L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Git_is1" |