diff --git a/components/esp_event/include/esp_event_base.h b/components/esp_event/include/esp_event_base.h index 0da0a99159..6eb3f31e94 100644 --- a/components/esp_event/include/esp_event_base.h +++ b/components/esp_event/include/esp_event_base.h @@ -4,8 +4,9 @@ * SPDX-License-Identifier: Apache-2.0 */ -#ifndef ESP_EVENT_BASE_H_ -#define ESP_EVENT_BASE_H_ +#pragma once + +#include #ifdef __cplusplus extern "C" { @@ -31,5 +32,3 @@ typedef void* esp_event_handler_instance_t; /**< context identifying an i #ifdef __cplusplus } #endif - -#endif // #ifndef ESP_EVENT_BASE_H_ diff --git a/tools/ci/check_public_headers_exceptions.txt b/tools/ci/check_public_headers_exceptions.txt index b18d7b8849..977da40289 100644 --- a/tools/ci/check_public_headers_exceptions.txt +++ b/tools/ci/check_public_headers_exceptions.txt @@ -114,7 +114,7 @@ components/esp_wifi/include/esp_wifi_crypto_types.h components/esp_wifi/include/esp_wifi_netif.h components/esp_wifi/include/smartconfig_ack.h components/esp_wifi/include/esp_wifi_default.h -components/esp_event/include/esp_event_base.h +components/esp_netif/include/esp_netif_sta_list.h components/esp_netif/include/esp_netif_defaults.h components/esp_netif/include/esp_netif_net_stack.h components/esp_netif/include/esp_netif_ppp.h