From b9345838538d2ceae453d3795cf62be7f600e89b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 10 Jul 2025 16:47:41 -0500 Subject: [PATCH] bsps/mips/include/libcpu/au1x00.h: Correct au_sync() prototype MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GCC warns that ‘static’ is not at beginning of the function declaration. --- bsps/mips/include/libcpu/au1x00.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/mips/include/libcpu/au1x00.h b/bsps/mips/include/libcpu/au1x00.h index 2e012371ea..105dfdded0 100644 --- a/bsps/mips/include/libcpu/au1x00.h +++ b/bsps/mips/include/libcpu/au1x00.h @@ -447,7 +447,7 @@ typedef struct { extern au1x00_uart_t *uart0; extern au1x00_uart_t *uart3; -void static inline au_sync(void) +static inline void au_sync(void) { __asm__ volatile ("sync"); }