summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Moessner <berndmoessner80@gmail.com>2024-01-06 20:26:10 +0100
committerJoel Sherrill <joel@rtems.org>2024-01-16 10:57:43 -0600
commita43163d058bd8d9da901e7a7e48591e2ff6aaabe (patch)
treead859343f277aee8d95697b60857e45cfbeb93ab
parentbsps/xilinx-zynqmp-rpu: Invalidate caches on start (diff)
downloadrtems-a43163d058bd8d9da901e7a7e48591e2ff6aaabe.tar.bz2
flashdev.h: Add missing C++ include guards
Updates #4981
-rw-r--r--cpukit/include/dev/flash/flashdev.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/include/dev/flash/flashdev.h b/cpukit/include/dev/flash/flashdev.h
index d1dc08a5c4..6759357206 100644
--- a/cpukit/include/dev/flash/flashdev.h
+++ b/cpukit/include/dev/flash/flashdev.h
@@ -39,6 +39,11 @@
#include <rtems/thread.h>
#include <sys/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
typedef struct rtems_flashdev rtems_flashdev;
/**
@@ -454,6 +459,10 @@ void rtems_flashdev_destroy_and_free(
rtems_flashdev *flash
);
+#ifdef __cplusplus
+}
+#endif
+
/** @} */
#endif /* _DEV_FLASHDEV_H */