From 9f8fa49115997e8e7a9bedc9daaa56990e586a05 Mon Sep 17 00:00:00 2001 From: x-io Technologies Date: Mon, 5 Aug 2024 14:59:57 +0100 Subject: [PATCH] Fix error: function declaration isn't a prototype --- sapi/include/rsi_hal.h | 2 +- sapi/include/rsi_uart.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sapi/include/rsi_hal.h b/sapi/include/rsi_hal.h index 0c3f4594..ddd77cf3 100644 --- a/sapi/include/rsi_hal.h +++ b/sapi/include/rsi_hal.h @@ -136,7 +136,7 @@ uint32_t GetTickCount(void); void rsi_interrupt_handler(void); void ABRD(void); -short int rsi_uart_iface_int(); +short int rsi_uart_iface_int(void); void Error_Handler(void); diff --git a/sapi/include/rsi_uart.h b/sapi/include/rsi_uart.h index af53aa49..2b13b836 100644 --- a/sapi/include/rsi_uart.h +++ b/sapi/include/rsi_uart.h @@ -153,7 +153,7 @@ extern void rsi_enter_critical_sec(void); extern void rsi_exit_critical_sec(void); extern void rsi_platform_based_init(void); extern int32_t rsi_uart_deinit(void); -extern short int rsi_uart_iface_int(); +extern short int rsi_uart_iface_int(void); extern void uart_init(void); #endif