FreeCalypso > hg > fc-tourmaline
diff src/ui/mfw/mfw_tim.c @ 188:92abb46dc1ba
src/ui/mfw/*.[ch]: rm trailing white space
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 19 Jan 2021 06:10:27 +0000 |
parents | 67bfe9f274f6 |
children |
line wrap: on
line diff
--- a/src/ui/mfw/mfw_tim.c Tue Jan 19 05:41:26 2021 +0000 +++ b/src/ui/mfw/mfw_tim.c Tue Jan 19 06:10:27 2021 +0000 @@ -15,7 +15,7 @@ TO DO : $History:: mfw_tim.c $ - * + * * ***************** Version 12 ***************** * User: Es Date: 3.03.00 Time: 12:10 * Updated in $/GSM/Condat/MS/SRC/MFW @@ -174,13 +174,13 @@ if (!hdr || !tim) { TRACE_ERROR("ERROR: timCreate() Mem Alloc Failed."); - + if(hdr) mfwFree((U8*)hdr,sizeof(MfwHdr)); if(tim) mfwFree((U8*)tim,sizeof(MfwTim)); - + return 0; } @@ -205,8 +205,8 @@ return 0; } return insert_status; - - + + } @@ -438,12 +438,12 @@ { ActiveTOut->left = 0; -/* PATCH PMC 000721: save the next pointer because the memory associated with +/* PATCH PMC 000721: save the next pointer because the memory associated with * to may be released in the timer handler function. */ timSavedNext = ActiveTOut->next2; /* END PATCH PMC 000721 */ - + if (ActiveTOut->handler) { // PATCH LE 06.06.00 @@ -451,17 +451,17 @@ current_mfw_elem = ActiveTOut->mfwHeader; /* SPR#1597 - SH - Change mfw_header to mfwHeader */ // END PATCH LE 06.06.00 - /* NM, p011b */ + /* NM, p011b */ temp = dspl_Enable(0); - /* p011b end */ - + /* p011b end */ + (void)((*(ActiveTOut->handler))(ActiveTOut->time,ActiveTOut));/*a0393213 lint warnings removal - void cast is done to avoid lint warning though the function returns int*/ - + /* NM, p011c */ dspl_Enable(temp); - /* p011c end */ - + /* p011c end */ + } /* PATCH PMC 000721: use the SavedNext pointer to set ActiveTOut */ ActiveTOut = timSavedNext; @@ -522,7 +522,7 @@ if (!timRoot) { timRoot = t; - t->next = 0; + t->next = 0; t->next2 = 0; /* cq18182 initialise the pointer 10-03-04 MZ. */ return; } @@ -563,10 +563,10 @@ if (t == 0) return; - + while (timRoot == t) timRoot = t->next; - + if (timRoot) { prev = timRoot; @@ -599,7 +599,7 @@ TRACE_EVENT_P1("ERROR: timCheck invalid 0x%08x - mfw_tim.c(593), quit the function", timCheck); return; } - + while (timCheck != 0 && !doneFlag) { @@ -609,7 +609,7 @@ TRACE_EVENT_P1("ERROR: timCheck invalid 0x%08x - mfw_tim.c(603), quit the function", timCheck); return; } - + if (timCheck->next2 == t) { timCheck->next2 = t->next2; @@ -624,7 +624,7 @@ return; } timCheck = timCheck->next2; - + } } }