<div dir="ltr">This looks ok to me.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 4, 2024 at 12:34 PM <<a href="mailto:berndmoessner80@gmail.com">berndmoessner80@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Bernd Moessner <<a href="mailto:berndmoessner80@gmail.com" target="_blank">berndmoessner80@gmail.com</a>><br>
<br>
---<br>
cpukit/include/dev/flash/flashdev.h | 9 +++++++++<br>
1 file changed, 9 insertions(+)<br>
<br>
diff --git a/cpukit/include/dev/flash/flashdev.h b/cpukit/include/dev/flash/flashdev.h<br>
index d1dc08a5c4..6759357206 100644<br>
--- a/cpukit/include/dev/flash/flashdev.h<br>
+++ b/cpukit/include/dev/flash/flashdev.h<br>
@@ -39,6 +39,11 @@<br>
#include <rtems/thread.h><br>
#include <sys/types.h><br>
<br>
+#ifdef __cplusplus<br>
+extern "C" {<br>
+#endif<br>
+<br>
+<br>
typedef struct rtems_flashdev rtems_flashdev;<br>
<br>
/**<br>
@@ -454,6 +459,10 @@ void rtems_flashdev_destroy_and_free(<br>
rtems_flashdev *flash<br>
);<br>
<br>
+#ifdef __cplusplus<br>
+}<br>
+#endif<br>
+<br>
/** @} */<br>
<br>
#endif /* _DEV_FLASHDEV_H */<br>
-- <br>
2.34.1<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>