Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rj/sparse'
author
Junio C Hamano
<gitster@pobox.com>
Thu, 25 Jul 2013 02:21:30 +0000
(19:21 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 25 Jul 2013 02:21:30 +0000
(19:21 -0700)
* rj/sparse:
Revert "compat/unsetenv.c: Fix a sparse warning"
compat/unsetenv.c
patch
|
blob
|
history
raw
(from parent 1:
cb18246
)
diff --git
a/compat/unsetenv.c
b/compat/unsetenv.c
index 4ea18569c240900b0e889873ddc782614c7724a6..bf5fd7063bc98964382b193cc9171a734c7aa790 100644
(file)
--- 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;