Re: Merge problems with git-mingw
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Oct 9, 2007, 18:09 UTC
- Message-ID
- <alpine.LFD.0.999.0710091108480.5039@woody.linux-foundation.org>
- In-Reply-To
- <470BB44B.3030500@viscovery.net>
On Tue, 9 Oct 2007, Johannes Sixt wrote:
> > + extern const char *quote_arg(const char *arg); > + argv[0] = quote_arg(git_command);
Extern declarations inside a local scope will not work on more modern gcc versions. Don't do it. Do proper prototyping in proper scope.
Linus