From c4779c4b4ec1f9fbc10315b7b9f52a1af9d9ebb5 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 2 Sep 2025 10:27:17 -0500 Subject: [PATCH] bsps/riscv/*: Fix old style declaration Newer C versions require that the storage-class specifier like static or _Thread_Local be the first thing in a declaration. --- bsps/riscv/niosv/flash/altera_epcq_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/riscv/niosv/flash/altera_epcq_driver.c b/bsps/riscv/niosv/flash/altera_epcq_driver.c index 61d1df02fc..80ece7d5e6 100644 --- a/bsps/riscv/niosv/flash/altera_epcq_driver.c +++ b/bsps/riscv/niosv/flash/altera_epcq_driver.c @@ -867,7 +867,7 @@ static inline int alt_epcq_validate_read_write_arguments ( * -EINVAL -> Invalid arguments * -ETIME -> Time out and skipping the looping after 0.7 sec. */ -int static alt_epcq_poll_for_write_in_progress ( +static int alt_epcq_poll_for_write_in_progress ( alt_epcq_controller2_dev* epcq_flash_info ) {