Add declarations of private nvs functions (nvs_*) in nvs_flash component to fix C++ -Wmissing-declarations warning

Merges https://github.com/espressif/esp-idf/pull/1956
This commit is contained in:
Paul Reimer 2018-05-14 22:33:53 -07:00 committed by Angus Gratton
parent e5ac96f49a
commit c83c3b64cd
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,9 @@ static const char* TAG = "nvs";
#define ESP_LOGD(...)
#endif
extern "C" void nvs_dump(const char *partName);
extern "C" esp_err_t nvs_flash_init_custom(const char *partName, uint32_t baseSector, uint32_t sectorCount);
class HandleEntry : public intrusive_list_node<HandleEntry>
{
static uint32_t s_nvs_next_handle;