bsp/include/jffs2_flashdev: Added CPP guards

Closes #5280
This commit is contained in:
Aaron Nyholm
2025-06-24 12:02:51 +10:00
committed by Gedare Bloom
parent 1b4f88baa3
commit b00a9d9993

View File

@@ -32,6 +32,10 @@
#include <rtems/jffs2.h> #include <rtems/jffs2.h>
#include <rtems/rtems/status.h> #include <rtems/rtems/status.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/** /**
* This function mounts a JFFS2 partition over the specified region on a * This function mounts a JFFS2 partition over the specified region on a
* flashdev-controlled device file. * flashdev-controlled device file.
@@ -53,4 +57,8 @@ rtems_status_code jffs2_flashdev_mount(
bool read_only bool read_only
); );
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* JFFS2_FLASHDEV_H */ #endif /* JFFS2_FLASHDEV_H */