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

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

See merge request espressif/esp-idf!36848
This commit is contained in:
Jiang Jiang Jian 2025-02-28 11:53:00 +08:00
commit cfc64c7299
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);
#ifdef __cplusplus
}
#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
* application layer for mobile phones.
*
@ -35,6 +35,10 @@
#if (BTA_AR_INCLUDED == TRUE)
#ifdef __cplusplus
extern "C" {
#endif
/*****************************************************************************
** Constants and data types
*****************************************************************************/

View File

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

View File

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

View File

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

View File

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

View File

@ -52,7 +52,6 @@ components/bootloader_support/include/esp_app_format.h
components/wpa_supplicant/include/
components/wpa_supplicant/port/
components/wpa_supplicant/esp_supplicant/include/
components/mbedtls/mbedtls/
components/mbedtls/port/include/