Merge branch 'bugfix/ifdef_cplusplus_bracket_v5.4' into 'release/v5.4'

bugfix(wifi): Add missing brackets in the C++ guard (Backport v5.4)

See merge request espressif/esp-idf!36830
This commit is contained in:
Jiang Jiang Jian 2025-02-17 15:50:16 +08:00
commit 30307f6977
7 changed files with 19 additions and 2 deletions

View File

@ -76,4 +76,8 @@ void fixed_pkt_queue_unregister_dequeue(fixed_pkt_queue_t *queue);
void fixed_pkt_queue_process(fixed_pkt_queue_t *queue); void fixed_pkt_queue_process(fixed_pkt_queue_t *queue);
#ifdef __cplusplus
}
#endif
#endif #endif

View File

@ -18,7 +18,7 @@
/****************************************************************************** /******************************************************************************
* *
* This is the public interface file for the simulatenous advanced * This is the public interface file for the simultaneous advanced
* audio/video streaming (AV) source and sink of BTA, Broadcom's Bluetooth * audio/video streaming (AV) source and sink of BTA, Broadcom's Bluetooth
* application layer for mobile phones. * application layer for mobile phones.
* *
@ -35,6 +35,10 @@
#if (BTA_AR_INCLUDED == TRUE) #if (BTA_AR_INCLUDED == TRUE)
#ifdef __cplusplus
extern "C" {
#endif
/***************************************************************************** /*****************************************************************************
** Constants and data types ** Constants and data types
*****************************************************************************/ *****************************************************************************/

View File

@ -23,6 +23,9 @@
#include "stack/a2d_sbc.h" #include "stack/a2d_sbc.h"
#if (BTC_AV_INCLUDED == TRUE) #if (BTC_AV_INCLUDED == TRUE)
#ifdef __cplusplus
extern "C" {
#endif
/***************************************************************************** /*****************************************************************************
** Constants and data types ** Constants and data types
*****************************************************************************/ *****************************************************************************/

View File

@ -8,6 +8,8 @@
#define _ESP_MBO_H #define _ESP_MBO_H
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif

View File

@ -8,6 +8,8 @@
#define _ESP_RRM_H #define _ESP_RRM_H
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif

View File

@ -10,6 +10,9 @@
#pragma message("esp_wpa2.h is deprecated. Use esp_eap_client.h instead.") #pragma message("esp_wpa2.h is deprecated. Use esp_eap_client.h instead.")
#include "esp_eap_client.h" #include "esp_eap_client.h"
#ifdef __cplusplus
extern "C" {
#endif
/** /**
* @brief Enable wpa2 enterprise authentication. * @brief Enable wpa2 enterprise authentication.

View File

@ -40,7 +40,6 @@ components/spi_flash/include/spi_flash_chip_generic.h
components/wpa_supplicant/include/ components/wpa_supplicant/include/
components/wpa_supplicant/port/ components/wpa_supplicant/port/
components/wpa_supplicant/esp_supplicant/include/
components/mbedtls/mbedtls/ components/mbedtls/mbedtls/
components/mbedtls/port/include/ components/mbedtls/port/include/