aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-07-24 19:21:30 -0700
committerJunio C Hamano <gitster@pobox.com>2013-07-24 19:21:30 -0700
commitfc5894bc720596964f65f2f645752d4740dbb731 (patch)
treee68f60369137c16e211846d4a0bf7d6cca23b26f
parentcb1824657bd0b6d9b916a0394cc67a6c18a27226 (diff)
parentf1e2a48d18a458d0431df8fef041bee857adb860 (diff)
downloadgit-fc5894bc720596964f65f2f645752d4740dbb731.tar.gz
git-fc5894bc720596964f65f2f645752d4740dbb731.tar.xz
Merge branch 'rj/sparse'
* rj/sparse: Revert "compat/unsetenv.c: Fix a sparse warning"
-rw-r--r--compat/unsetenv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/unsetenv.c b/compat/unsetenv.c
index 4ea18569c..bf5fd7063 100644
--- a/compat/unsetenv.c
+++ b/compat/unsetenv.c
@@ -2,6 +2,9 @@
void gitunsetenv (const char *name)
{
+#if !defined(__MINGW32__)
+ extern char **environ;
+#endif
int src, dst;
size_t nmln;