From eb09e42638807fe257e5d4c6714b21d35b24efea Mon Sep 17 00:00:00 2001 From: David Cermak Date: Mon, 24 Jun 2024 11:49:40 +0200 Subject: [PATCH] fix(eppp): Fixed strict prototype API decl issue in SDIO --- components/eppp_link/eppp_sdio_host.c | 6 +++--- components/eppp_link/eppp_sdio_slave.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/eppp_link/eppp_sdio_host.c b/components/eppp_link/eppp_sdio_host.c index d99251e85..d22728b9e 100644 --- a/components/eppp_link/eppp_sdio_host.c +++ b/components/eppp_link/eppp_sdio_host.c @@ -168,7 +168,7 @@ esp_err_t eppp_sdio_host_rx(esp_netif_t *netif) return ESP_OK; } -void eppp_sdio_host_deinit() +void eppp_sdio_host_deinit(void) { essl_sdio_deinit_dev(s_essl); sdmmc_host_deinit(); @@ -189,11 +189,11 @@ esp_err_t eppp_sdio_host_rx(esp_netif_t *netif) return ESP_ERR_NOT_SUPPORTED; } -void eppp_sdio_host_deinit() +void eppp_sdio_host_deinit(void) { } -esp_err_t eppp_sdio_host_init() +esp_err_t eppp_sdio_host_init(struct eppp_config_sdio_s *config) { return ESP_ERR_NOT_SUPPORTED; } diff --git a/components/eppp_link/eppp_sdio_slave.c b/components/eppp_link/eppp_sdio_slave.c index aeb37ffb2..ef2579570 100644 --- a/components/eppp_link/eppp_sdio_slave.c +++ b/components/eppp_link/eppp_sdio_slave.c @@ -162,7 +162,7 @@ esp_err_t eppp_sdio_slave_rx(esp_netif_t *netif) return ESP_ERR_NOT_SUPPORTED; } -void eppp_sdio_slave_deinit() +void eppp_sdio_slave_deinit(void) { }