Use setenv(), fix warnings
- Fix -Wundef -Wold-style-definition warnings - Make pll_free() static [jc: original patch by Timo had another unrelated bits: - Use setenv() instead of putenv() I'm postponing that part for now.] Signed-off-by: Timo Hirvonen <tihirvon@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
committed by
Junio C Hamano
parent
3c0b7511cd
commit
962554c616
@ -13,7 +13,7 @@ void git_set_exec_path(const char *exec_path)
|
||||
|
||||
|
||||
/* Returns the highest-priority, location to look for git programs. */
|
||||
const char *git_exec_path()
|
||||
const char *git_exec_path(void)
|
||||
{
|
||||
const char *env;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user