Misc. "bool" changes.

This commit is contained in:
Ralf Corsepius
2008-09-06 17:01:15 +00:00
parent 176f133fc9
commit a902c8d49e
2 changed files with 3 additions and 3 deletions

View File

@@ -115,7 +115,7 @@ extern void exceptionHandler (int, void (*handler) (void));
/* at least NUMREGBYTES*2 are needed for register packets */ /* at least NUMREGBYTES*2 are needed for register packets */
#define BUFMAX 400 #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; extern int remote_debug;
/* debug > 0 prints ill-formed commands in valid packets & checksum errors */ /* debug > 0 prints ill-formed commands in valid packets & checksum errors */
@@ -953,7 +953,7 @@ set_debug_traps (void)
"$?#xx") sitting there. */ "$?#xx") sitting there. */
putDebugChar ('+'); putDebugChar ('+');
initialized = 1; initialized = true;
} }

View File

@@ -349,7 +349,7 @@ void _ThreadProcessSignalsFromIrq (CPU_Exception_frame* ctx)
*/ */
if ( _Thread_Do_post_task_switch_extension || if ( _Thread_Do_post_task_switch_extension ||
_Thread_Executing->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(); _API_extensions_Run_postswitch();
} }
/* /*