diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2024-04-09 13:28:51 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2024-04-09 16:03:38 +0200 |
commit | b678a199e499b6c3f0b453393434aefaee180423 (patch) | |
tree | 7f8d87e31f9ce8f73160e9905341183d5207544d /cpukit/score/src/processormaskcopy.c | |
parent | validation: Fix powerpc in test case (diff) | |
download | rtems-b678a199e499b6c3f0b453393434aefaee180423.tar.bz2 |
score: Improve C/C++ standard compatibility
The processor mask implementation uses flsl() from <strings.h> which is
only BSD visible. Move the implementation to a separate header file to
hide it from the API level. This fixes build errors with GCC 14.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/processormaskcopy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/processormaskcopy.c b/cpukit/score/src/processormaskcopy.c index 863bd1574e..3f1c2cf250 100644 --- a/cpukit/score/src/processormaskcopy.c +++ b/cpukit/score/src/processormaskcopy.c @@ -39,7 +39,7 @@ #include "config.h" #endif -#include <rtems/score/processormask.h> +#include <rtems/score/processormaskimpl.h> const Processor_mask _Processor_mask_The_one_and_only = { .__bits[ 0 ] = 1 }; |