1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

net/ng_sixlowpan: declared private methods static

This commit is contained in:
Hauke Petersen 2015-06-17 17:07:54 +02:00
parent 73019e8090
commit dc82b801ac

View File

@ -35,9 +35,9 @@ static char _stack[NG_SIXLOWPAN_STACK_SIZE];
/* handles NG_NETAPI_MSG_TYPE_RCV commands */
void _receive(ng_pktsnip_t *pkt);
static void _receive(ng_pktsnip_t *pkt);
/* handles NG_NETAPI_MSG_TYPE_SND commands */
void _send(ng_pktsnip_t *pkt);
static void _send(ng_pktsnip_t *pkt);
/* Main event loop for 6LoWPAN */
static void *_event_loop(void *args);
@ -53,7 +53,7 @@ kernel_pid_t ng_sixlowpan_init(void)
return _pid;
}
void _receive(ng_pktsnip_t *pkt)
static void _receive(ng_pktsnip_t *pkt)
{
ng_pktsnip_t *payload;
uint8_t *dispatch;
@ -140,7 +140,7 @@ void _receive(ng_pktsnip_t *pkt)
}
}
void _send(ng_pktsnip_t *pkt)
static void _send(ng_pktsnip_t *pkt)
{
ng_netif_hdr_t *hdr;
ng_pktsnip_t *ipv6, *sixlowpan;