Make set_bits_in_byte() static (like for get_bits_in_byte)
This commit is contained in:
parent
dbb82f2439
commit
520117b188
|
@ -169,7 +169,7 @@ header_size(const struct packetbuf_attrlist *a)
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
void CC_INLINE
|
static void CC_INLINE
|
||||||
set_bits_in_byte(uint8_t *target, int bitpos, uint8_t val, int vallen)
|
set_bits_in_byte(uint8_t *target, int bitpos, uint8_t val, int vallen)
|
||||||
{
|
{
|
||||||
unsigned short shifted_val;
|
unsigned short shifted_val;
|
||||||
|
|
Loading…
Reference in a new issue