This is an automated email from the ASF dual-hosted git repository.

archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 78728fc5eb178fcc4f5a529e8c7dc1018836ebb3
Author: Xiang Xiao <[email protected]>
AuthorDate: Mon Sep 11 17:31:56 2023 +0800

    Fix error: spi/qspi_flash.c:576:45: error: a function declaration without a 
prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    
    Signed-off-by: Xiang Xiao <[email protected]>
---
 drivers/spi/qspi_flash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/qspi_flash.c b/drivers/spi/qspi_flash.c
index 2c8aa23e20..67bd52a899 100644
--- a/drivers/spi/qspi_flash.c
+++ b/drivers/spi/qspi_flash.c
@@ -573,7 +573,7 @@ static int qspi_flash_command(FAR struct qspi_dev_s *dev,
  *
  ****************************************************************************/
 
-FAR struct qspi_dev_s *qspi_flash_initialize()
+FAR struct qspi_dev_s *qspi_flash_initialize(void)
 {
   FAR struct qspi_flashdev_s *priv = NULL;
 

Reply via email to