zephyr: replace zephyr integer types with C99 types
git grep -l 'u\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g" git grep -l 's\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g" Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
ee6fa31af6
commit
a1b77fd589
2364 changed files with 32505 additions and 32505 deletions
|
@ -22,10 +22,10 @@
|
|||
#include "ull_adv_internal.h"
|
||||
#include "ull_scan_internal.h"
|
||||
|
||||
static u8_t pub_addr[BDADDR_SIZE];
|
||||
static u8_t rnd_addr[BDADDR_SIZE];
|
||||
static uint8_t pub_addr[BDADDR_SIZE];
|
||||
static uint8_t rnd_addr[BDADDR_SIZE];
|
||||
|
||||
u8_t *ll_addr_get(u8_t addr_type, u8_t *bdaddr)
|
||||
uint8_t *ll_addr_get(uint8_t addr_type, uint8_t *bdaddr)
|
||||
{
|
||||
if (addr_type > 1) {
|
||||
return NULL;
|
||||
|
@ -46,7 +46,7 @@ u8_t *ll_addr_get(u8_t addr_type, u8_t *bdaddr)
|
|||
return pub_addr;
|
||||
}
|
||||
|
||||
u32_t ll_addr_set(u8_t addr_type, u8_t const *const bdaddr)
|
||||
uint32_t ll_addr_set(uint8_t addr_type, uint8_t const *const bdaddr)
|
||||
{
|
||||
if (IS_ENABLED(CONFIG_BT_BROADCASTER) &&
|
||||
ull_adv_is_enabled(0)) {
|
||||
|
@ -67,7 +67,7 @@ u32_t ll_addr_set(u8_t addr_type, u8_t const *const bdaddr)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void bt_ctlr_set_public_addr(const u8_t *addr)
|
||||
void bt_ctlr_set_public_addr(const uint8_t *addr)
|
||||
{
|
||||
(void)memcpy(pub_addr, addr, sizeof(pub_addr));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue