Re: [Openocd-development] jim.c no longer compiles warning free under Cygwin

2009-05-06 Thread Anders Montonen
On May 6, 2009, at 10:20, Zach Welch wrote: > On Tue, 2009-05-05 at 23:27 -0700, Zach Welch wrote: >> On Wed, 2009-05-06 at 08:17 +0200, Øyvind Harboe wrote: >>> Looks like more fun with the code below in jim.c... >>> >>> #if !defined(HAVE_UNISTD_H) || !defined(__GNU_LIBRARY__) >>>extern ch

Re: [Openocd-development] jim.c no longer compiles warning free under Cygwin

2009-05-06 Thread Zach Welch
On Tue, 2009-05-05 at 23:27 -0700, Zach Welch wrote: > On Wed, 2009-05-06 at 08:17 +0200, Øyvind Harboe wrote: > > Looks like more fun with the code below in jim.c... > > > > #if !defined(HAVE_UNISTD_H) || !defined(__GNU_LIBRARY__) > > extern char **environ; > > #endif > > > > > > ../../

Re: [Openocd-development] jim.c no longer compiles warning free under Cygwin

2009-05-05 Thread Zach Welch
On Wed, 2009-05-06 at 08:17 +0200, Øyvind Harboe wrote: > Looks like more fun with the code below in jim.c... > > #if !defined(HAVE_UNISTD_H) || !defined(__GNU_LIBRARY__) > extern char **environ; > #endif > > > ../../../openocd/src/helper/jim.c: In function `Jim_EnvCoreCommand': > ../../

[Openocd-development] jim.c no longer compiles warning free under Cygwin

2009-05-05 Thread Øyvind Harboe
Looks like more fun with the code below in jim.c... #if !defined(HAVE_UNISTD_H) || !defined(__GNU_LIBRARY__) extern char **environ; #endif ../../../openocd/src/helper/jim.c: In function `Jim_EnvCoreCommand': ../../../openocd/src/helper/jim.c:11988: warning: redundant redeclaration of 'en