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

@@ -14,6 +14,10 @@
#ifndef HEAP_ALLOC_CAPS_H
#define HEAP_ALLOC_CAPS_H
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Flags to indicate the capabilities of the various memory systems
*/
@@ -99,5 +103,8 @@ static inline bool esp_ptr_dma_capable( const void *ptr )
return ( (int)ptr >= 0x3FFAE000 && (int)ptr < 0x40000000 );
}
#ifdef __cplusplus
}
#endif
#endif
#endif //HEAP_ALLOC_CAPS_H