From a660e9dc47c522fe1a1b7f6e4af1795dbd6c20b1 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 8 Sep 2022 10:37:05 +0200 Subject: Do not use RTEMS_INLINE_ROUTINE Directly use "static inline" which is available in C99 and later. This brings the RTEMS implementation closer to standard C. Close #3935. --- cpukit/include/rtems/linkersets.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/include/rtems/linkersets.h') diff --git a/cpukit/include/rtems/linkersets.h b/cpukit/include/rtems/linkersets.h index cdfcd54cde..c4b3e2b7dc 100644 --- a/cpukit/include/rtems/linkersets.h +++ b/cpukit/include/rtems/linkersets.h @@ -129,7 +129,7 @@ extern "C" { decl \ RTEMS_SECTION( ".rtemsrwset." #set ".content" ) -RTEMS_INLINE_ROUTINE uintptr_t _Linker_set_Obfuscate( const void *ptr ) +static inline uintptr_t _Linker_set_Obfuscate( const void *ptr ) { uintptr_t addr; -- cgit v1.2.3