Skip to content
Permalink
Browse files

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>
  • Loading branch information...
mrfuchs authored and carlescufi committed Aug 3, 2019
1 parent 77db273 commit 33535a26966b3f6f1fdb70b884440ba60d900f26
Showing with 4 additions and 3 deletions.
  1. +4 −3 include/fs/nvs.h
@@ -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

0 comments on commit 33535a2

Please sign in to comment.
You can’t perform that action at this time.