From: Paul Reimer Date: Tue, 15 May 2018 05:33:53 +0000 (-0700) Subject: Add declarations of private nvs functions (nvs_*) in nvs_flash component to fix C... X-Git-Tag: v3.1-beta1~54^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c83c3b64cda8a3f096a1f4ac8b2fa4aaed0101ea;p=esp-idf 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 --- diff --git a/components/nvs_flash/src/nvs_api.cpp b/components/nvs_flash/src/nvs_api.cpp index 40d67b942b..8d0e6c0389 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;