summaryrefslogtreecommitdiff
path: root/exec_cmd.c
diff options
context:
space:
mode:
authorTimo Hirvonen <tihirvon@gmail.com>2006-02-26 15:13:46 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-02-26 23:06:45 (GMT)
commit962554c616e30991553c8497ed1e7c2a415fa84d (patch)
tree710390ca470a4a203635d3ce6f48bc426a99bfb3 /exec_cmd.c
parent3c0b7511cdadd04690208d9772fdbd6a86496229 (diff)
downloadgit-962554c616e30991553c8497ed1e7c2a415fa84d.zip
git-962554c616e30991553c8497ed1e7c2a415fa84d.tar.gz
git-962554c616e30991553c8497ed1e7c2a415fa84d.tar.bz2
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>
Diffstat (limited to 'exec_cmd.c')
-rw-r--r--exec_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec_cmd.c b/exec_cmd.c
index 55af33b..b5e59a9 100644
--- a/exec_cmd.c
+++ b/exec_cmd.c
@@ -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;