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:
Kumar Gala 2020-05-27 11:26:57 -05:00 committed by Kumar Gala
commit a1b77fd589
2364 changed files with 32505 additions and 32505 deletions

View file

@ -106,14 +106,14 @@ static int flash_sync(struct stream_flash_ctx *ctx)
return rc;
}
int stream_flash_buffered_write(struct stream_flash_ctx *ctx, const u8_t *data,
int stream_flash_buffered_write(struct stream_flash_ctx *ctx, const uint8_t *data,
size_t len, bool flush)
{
int processed = 0;
int rc = 0;
int buf_empty_bytes;
size_t fill_length;
u8_t filler;
uint8_t filler;
if (!ctx || !data) {
return -EFAULT;
@ -179,7 +179,7 @@ size_t stream_flash_bytes_written(struct stream_flash_ctx *ctx)
}
int stream_flash_init(struct stream_flash_ctx *ctx, struct device *fdev,
u8_t *buf, size_t buf_len, size_t offset, size_t size,
uint8_t *buf, size_t buf_len, size_t offset, size_t size,
stream_flash_callback_t cb)
{
if (!ctx || !fdev || !buf) {