Silence MinGW warnings

Signed-off-by: Sven Strickroth <email@cs-ware.de>
This commit is contained in:
Sven Strickroth 2012-09-29 21:26:32 +02:00
parent dee18b825a
commit 19aa8416e5
2 changed files with 3 additions and 2 deletions

View File

@ -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);

View File

@ -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"