add C++ include guards to header files which are missing them

Fixes https://github.com/espressif/esp-idf/issues/628
This commit is contained in:
Ivan Grokhotkov
2017-05-31 17:20:17 +08:00
parent d718cbd873
commit 06accaf851
5 changed files with 38 additions and 1 deletions

View File

@@ -15,6 +15,10 @@
#ifndef _ESP_DPORT_ACCESS_H_
#define _ESP_DPORT_ACCESS_H_
#ifdef __cplusplus
extern "C" {
#endif
void esp_dport_access_stall_other_cpu_start(void);
void esp_dport_access_stall_other_cpu_end(void);
void esp_dport_access_int_init(void);
@@ -27,4 +31,8 @@ void esp_dport_access_int_init(void);
#define DPORT_STALL_OTHER_CPU_END() esp_dport_access_stall_other_cpu_end()
#endif
#ifdef __cplusplus
}
#endif
#endif /* _ESP_DPORT_ACCESS_H_ */