mirror of https://github.com/ARMmbed/mbed-os.git
Make a few trivial syntactic changes to better support cross-compilation
parent
091509705f
commit
a7f4cbcdce
|
@ -207,7 +207,7 @@ CellularContext *AT_CellularDevice::create_context(FileHandle *fh, const char *a
|
|||
return ctx;
|
||||
}
|
||||
|
||||
AT_CellularContext *prev;
|
||||
AT_CellularContext *prev=NULL;
|
||||
while (curr) {
|
||||
prev = curr;
|
||||
curr = (AT_CellularContext *)curr->_next;
|
||||
|
|
|
@ -990,7 +990,7 @@ void AT_CellularSMS::add_info(sms_info_t *info, int index, int part_number)
|
|||
return;
|
||||
}
|
||||
sms_info_t *current = _sms_info;
|
||||
sms_info_t *prev;
|
||||
sms_info_t *prev=NULL;
|
||||
bool found_msg = false;
|
||||
while (current) {
|
||||
prev = current;
|
||||
|
|
|
@ -26,10 +26,7 @@ typedef struct trace_s {
|
|||
void (*mutex_release_f)(void);
|
||||
} trace_t;
|
||||
|
||||
static trace_t m_trace = {
|
||||
.mutex_wait_f = 0,
|
||||
.mutex_release_f = 0,
|
||||
};
|
||||
static trace_t m_trace = {};
|
||||
|
||||
void mutex_wait_function_set(void (*mutex_wait_f)(void))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue