bootloader_support: Add C++ header guards

As reported on forum https://esp32.com/viewtopic.php?f=13&t=11173&p=45470
This commit is contained in:
Angus Gratton
2019-06-26 11:02:15 +10:00
committed by Angus Gratton
parent 2c26eb2213
commit c8570ffa6d
7 changed files with 48 additions and 5 deletions

View File

@@ -16,6 +16,10 @@
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Enable early entropy source for RNG
*
@@ -47,3 +51,7 @@ void bootloader_random_disable(void);
* @param length This many bytes of random data will be copied to buffer
*/
void bootloader_fill_random(void *buffer, size_t length);
#ifdef __cplusplus
}
#endif