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
1 changed files with 4 additions and 3 deletions
|
@ -7,13 +7,14 @@
|
||||||
#ifndef ZEPHYR_INCLUDE_FS_NVS_H_
|
#ifndef ZEPHYR_INCLUDE_FS_NVS_H_
|
||||||
#define ZEPHYR_INCLUDE_FS_NVS_H_
|
#define ZEPHYR_INCLUDE_FS_NVS_H_
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <kernel.h>
|
||||||
|
#include <device.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <kernel.h>
|
|
||||||
#include <device.h>
|
|
||||||
/**
|
/**
|
||||||
* @brief Non-volatile Storage
|
* @brief Non-volatile Storage
|
||||||
* @defgroup nvs Non-volatile Storage
|
* @defgroup nvs Non-volatile Storage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue