[PATCH rtems6 - v1 01/16] FIX: Add missing C++ include guards
Joel Sherrill
joel at rtems.org
Thu Jan 4 20:21:56 UTC 2024
This looks ok to me.
On Thu, Jan 4, 2024 at 12:34 PM <berndmoessner80 at gmail.com> wrote:
> From: Bernd Moessner <berndmoessner80 at gmail.com>
>
> ---
> cpukit/include/dev/flash/flashdev.h | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> 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 */
> --
> 2.34.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20240104/e9a228c6/attachment-0001.htm>
More information about the devel
mailing list