From c83c3b64cda8a3f096a1f4ac8b2fa4aaed0101ea Mon Sep 17 00:00:00 2001 From: Paul Reimer Date: Mon, 14 May 2018 22:33:53 -0700 Subject: [PATCH] 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 --- components/nvs_flash/src/nvs_api.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/nvs_flash/src/nvs_api.cpp b/components/nvs_flash/src/nvs_api.cpp index 40d67b942..8d0e6c038 100644 --- a/components/nvs_flash/src/nvs_api.cpp +++ b/components/nvs_flash/src/nvs_api.cpp @@ -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 { static uint32_t s_nvs_next_handle;