Skip to content

Commit

Permalink
Update armv8m_mpu.h - adding void
Browse files Browse the repository at this point in the history
Removes error:
error: old-style function definition [-Werror=old-style-definition]
  • Loading branch information
blckmn committed Jan 1, 2025
1 parent 4b7fcfa commit 4dcc9aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMSIS/Core/Include/m-profile/armv8m_mpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ typedef struct {
\brief Read MPU Type Register
\return Number of MPU regions
*/
__STATIC_INLINE uint32_t ARM_MPU_TYPE()
__STATIC_INLINE uint32_t ARM_MPU_TYPE(void)
{
return ((MPU->TYPE) >> 8);
}
Expand Down

0 comments on commit 4dcc9aa

Please sign in to comment.