fs/nvs: improve C++ compatibility

This patch moves header inclusion outside the `extern "C"` block.

Signed-off-by: Markus Fuchs <markus.fuchs@de.sauter-bc.com>
This commit is contained in:
Markus Fuchs 2019-08-03 22:02:40 +02:00 committed by Carles Cufí
parent 77db273f6f
commit 33535a2696

View file

@ -7,13 +7,14 @@
#ifndef ZEPHYR_INCLUDE_FS_NVS_H_
#define ZEPHYR_INCLUDE_FS_NVS_H_
#include <sys/types.h>
#include <kernel.h>
#include <device.h>
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/types.h>
#include <kernel.h>
#include <device.h>
/**
* @brief Non-volatile Storage
* @defgroup nvs Non-volatile Storage