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:
parent
77db273f6f
commit
33535a2696
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue