int i;
int retval;
int fast_check = 0;
- int blank;
+ u32 blank;
if (bank->target->state != TARGET_HALTED)
{
command_context_t* command_init()
{
command_context_t* context = malloc(sizeof(command_context_t));
- extern unsigned const char startup_tcl[];
+ extern const char startup_tcl[];
context->mode = COMMAND_EXEC;
context->commands = NULL;
/* This extension is not dynamically loaded, instead it's linked statically,
which is why we shouldn't use the unspecific 'Jim_OnLoad' name */
-#define Jim_OnLoad Jim_EventLoopOnLoad
-
-int Jim_OnLoad(Jim_Interp *interp)
+int Jim_EventLoopOnLoad(Jim_Interp *interp)
{
Jim_EventLoop *eventLoop;
#define JIM_API(x) x
#define JIM_STATIC
+JIM_STATIC int Jim_EventLoopOnLoad(Jim_Interp *interp);
+
/* --- POSIX version of Jim_ProcessEvents, for now the only available --- */
#define JIM_FILE_EVENTS 1
#define JIM_TIME_EVENTS 2
{
long l;
u32 width;
- u32 len;
+ int len;
u32 addr;
u32 count;
u32 v;
{
long l;
u32 width;
- u32 len;
+ int len;
u32 addr;
u32 count;
u32 v;