forked from Imagelibrary/rtems
Misc. "bool" changes.
This commit is contained in:
@@ -115,7 +115,7 @@ extern void exceptionHandler (int, void (*handler) (void));
|
||||
/* at least NUMREGBYTES*2 are needed for register packets */
|
||||
#define BUFMAX 400
|
||||
|
||||
static char initialized; /* boolean flag. != 0 means we've been initialized */
|
||||
static bool initialized = false; /* boolean flag. != 0 means we've been initialized */
|
||||
|
||||
extern int remote_debug;
|
||||
/* debug > 0 prints ill-formed commands in valid packets & checksum errors */
|
||||
@@ -953,7 +953,7 @@ set_debug_traps (void)
|
||||
"$?#xx") sitting there. */
|
||||
putDebugChar ('+');
|
||||
|
||||
initialized = 1;
|
||||
initialized = true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -349,7 +349,7 @@ void _ThreadProcessSignalsFromIrq (CPU_Exception_frame* ctx)
|
||||
*/
|
||||
if ( _Thread_Do_post_task_switch_extension ||
|
||||
_Thread_Executing->do_post_task_switch_extension ) {
|
||||
_Thread_Executing->do_post_task_switch_extension = FALSE;
|
||||
_Thread_Executing->do_post_task_switch_extension = false;
|
||||
_API_extensions_Run_postswitch();
|
||||
}
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user