mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
make internal function static
This commit is contained in:
parent
7dd9ac6be0
commit
96cbf4019e
@ -28,6 +28,9 @@
|
||||
//#define ENABLE_DEBUG
|
||||
#include "debug.h"
|
||||
|
||||
static int _msg_receive(msg_t *m, int block);
|
||||
|
||||
|
||||
static int queue_msg(tcb_t *target, msg_t *m)
|
||||
{
|
||||
int n = cib_put(&(target->msg_queue));
|
||||
@ -194,7 +197,7 @@ int msg_receive(msg_t *m)
|
||||
return _msg_receive(m, true);
|
||||
}
|
||||
|
||||
int _msg_receive(msg_t *m, block)
|
||||
static int _msg_receive(msg_t *m, block)
|
||||
{
|
||||
dINT();
|
||||
DEBUG("%s: msg_receive.\n", active_thread->name);
|
||||
|
Loading…
Reference in New Issue
Block a user