Commit 19aa8416e59e6c8f01c6b850ce6bb3e2f7457236

Sven Strickroth 2012-09-29T21:26:32

Silence MinGW warnings Signed-off-by: Sven Strickroth <email@cs-ware.de>

diff --git a/src/config.h b/src/config.h
index 5475ef3..4e451a2 100644
--- a/src/config.h
+++ b/src/config.h
@@ -24,6 +24,7 @@ struct git_config {
 };
 
 extern int git_config_find_global_r(git_buf *global_config_path);
+extern int git_config_find_xdr_r(git_buf *system_config_path);
 extern int git_config_find_system_r(git_buf *system_config_path);
 
 extern int git_config_parse_bool(int *out, const char *bool_string);
diff --git a/src/fileops.c b/src/fileops.c
index 2bdea91..cbc7419 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"