> Spencer, > > The attached patch includes an attempt at fixing the > following warning: > > jim.c: In function `Jim_EnvCoreCommand': > jim.c:11977: warning: function declaration isn't a prototype > > If this doesn't do it, you might explore this one; my patch > is a wild stab in the dark, but who knows. >
I have committed a slightly different patch. Index: jim.c =================================================================== --- jim.c (revision 1487) +++ jim.c (revision 1488) @@ -11976,7 +11976,10 @@ char *val; if (argc == 1) { + +#ifndef _WIN32 extern char **environ; +#endif int i; Jim_Obj *listObjPtr = Jim_NewListObj(interp, NULL, 0); Cheers Spen _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development