bsps/arm/include: Silence warning in CMSIS file

Avoid a warning about missing void.

Co-authored-by: Christian Mauderer <christian.mauderer@embedded-brains.de>
This commit is contained in:
Matt Joyce
2024-07-17 14:54:41 +02:00
committed by Amar Takhar
parent d6de06569f
commit 8f56c7a2d4

View File

@@ -1,3 +1,6 @@
/*
* The file was modified by RTEMS contributors.
*/
/******************************************************************************
* @file mpu_armv8.h
* @brief CMSIS MPU API for Armv8-M and Armv8.1-M MPU
@@ -190,7 +193,11 @@ typedef struct {
\brief Read MPU Type Register
\return Number of MPU regions
*/
#ifndef __rtems__
__STATIC_INLINE uint32_t ARM_MPU_TYPE()
#else /* __rtems__ */
__STATIC_INLINE uint32_t ARM_MPU_TYPE(void)
#endif /* __rtems__ */
{
return ((MPU->TYPE) >> 8);
}