From dad6d32271ea919e18abe3e18496ea88e282c53c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 30 Aug 2022 07:58:56 +0200 Subject: Fix pedanic warnings without a storage increase Use RTEMS_ZERO_LENGTH_ARRAY for flexible array member. Update #4662. --- cpukit/include/rtems/score/schedulerpriority.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/include/rtems/score/schedulerpriority.h') diff --git a/cpukit/include/rtems/score/schedulerpriority.h b/cpukit/include/rtems/score/schedulerpriority.h index e485e97c60..1325224fa9 100644 --- a/cpukit/include/rtems/score/schedulerpriority.h +++ b/cpukit/include/rtems/score/schedulerpriority.h @@ -94,7 +94,7 @@ typedef struct { /** * @brief One ready queue per priority level. */ - Chain_Control Ready[ 1 ]; + Chain_Control Ready[ RTEMS_ZERO_LENGTH_ARRAY ]; } Scheduler_priority_Context; /** -- cgit v1.2.3