From a162a5cdcfffd6eaaacd692a66b2d7074c9cae36 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 2 Sep 2025 10:28:42 -0500 Subject: [PATCH] cpukit/include/*: Fix old style declaration Newer C versions require that the storage-class specifier like static or _Thread_Local be the first thing in a declaration. --- cpukit/include/rtems/score/freechainimpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/include/rtems/score/freechainimpl.h b/cpukit/include/rtems/score/freechainimpl.h index 3f02472961..36601ec598 100644 --- a/cpukit/include/rtems/score/freechainimpl.h +++ b/cpukit/include/rtems/score/freechainimpl.h @@ -113,7 +113,7 @@ static inline void *_Freechain_Pop( Freechain_Control *freechain ) * @param freechain The freechain control. * @param node The node to push back. The node shall not be @c NULL. */ -void static inline _Freechain_Push( +static inline void _Freechain_Push( Freechain_Control *freechain, void *node )