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>
diff --git a/kernel/mem_slab.c b/kernel/mem_slab.c
index 6c4dc80..7c51689 100644
--- a/kernel/mem_slab.c
+++ b/kernel/mem_slab.c
@@ -31,7 +31,7 @@
*/
static int create_free_list(struct k_mem_slab *slab)
{
- u32_t j;
+ uint32_t j;
char *p;
/* blocks must be word aligned */
@@ -80,7 +80,7 @@
CONFIG_KERNEL_INIT_PRIORITY_OBJECTS);
int k_mem_slab_init(struct k_mem_slab *slab, void *buffer,
- size_t block_size, u32_t num_blocks)
+ size_t block_size, uint32_t num_blocks)
{
int rc = 0;