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.
Cheers,
Zach
Index: src/helper/jim.c
===================================================================
--- src/helper/jim.c (revision 1478)
+++ src/helper/jim.c (working copy)
@@ -11966,6 +11966,8 @@
return JIM_OK;
}
+extern char **environ;
+
/* [env] */
static int Jim_EnvCoreCommand(Jim_Interp *interp, int argc,
Jim_Obj *const *argv)
@@ -11974,8 +11976,6 @@
char *val;
if (argc == 1) {
- extern char **environ;
-
int i;
Jim_Obj *listObjPtr = Jim_NewListObj(interp, NULL, 0);
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development