mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-10 07:58:01 +00:00
fix(struct_h): add extern "C" protection to *_struct.h header files.
This commit is contained in:
@@ -13,6 +13,11 @@
|
||||
// limitations under the License.
|
||||
#ifndef _SOC_RTC_CNTL_STRUCT_H_
|
||||
#define _SOC_RTC_CNTL_STRUCT_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef volatile struct {
|
||||
union {
|
||||
struct {
|
||||
@@ -551,4 +556,9 @@ typedef volatile struct {
|
||||
} date;
|
||||
} rtc_cntl_dev_t;
|
||||
extern rtc_cntl_dev_t RTCCNTL;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SOC_RTC_CNTL_STRUCT_H_ */
|
||||
|
||||
Reference in New Issue
Block a user