From a3e296fe4733fcdc70558f029b19889290c84994 Mon Sep 17 00:00:00 2001 From: Yen-Fu Chen Date: Mon, 14 Aug 2023 14:54:05 +0800 Subject: [PATCH] Fix format warning --- src/cache.c | 2 +- src/compile.c | 2 +- src/compile.h | 2 +- src/riscv_private.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cache.c b/src/cache.c index 4771378a5..b465de453 100644 --- a/src/cache.c +++ b/src/cache.c @@ -586,4 +586,4 @@ bool cache_hot(struct cache *cache, uint32_t key) #endif return false; } -#endif \ No newline at end of file +#endif diff --git a/src/compile.c b/src/compile.c index 4491b38d8..3090b0371 100644 --- a/src/compile.c +++ b/src/compile.c @@ -535,4 +535,4 @@ uint8_t *block_compile(riscv_t *rv) trace_and_gencode(rv, jit_code_string->code); jit_code_string->code_size = strlen(jit_code_string->code); return compile(rv); -} \ No newline at end of file +} diff --git a/src/compile.h b/src/compile.h index c258d58e5..5a5a5ee2a 100644 --- a/src/compile.h +++ b/src/compile.h @@ -8,4 +8,4 @@ #include "riscv.h" -uint8_t *block_compile(riscv_t *rv); \ No newline at end of file +uint8_t *block_compile(riscv_t *rv); diff --git a/src/riscv_private.h b/src/riscv_private.h index e18e48b07..1ce1cc90a 100644 --- a/src/riscv_private.h +++ b/src/riscv_private.h @@ -188,4 +188,4 @@ uint32_t csr_csrrs(riscv_t *rv, uint32_t csr, uint32_t val); * Read value from rs1, use as bit mask to clear bits in CSR. */ uint32_t csr_csrrc(riscv_t *rv, uint32_t csr, uint32_t val); -#endif \ No newline at end of file +#endif