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/include/rtems/score/smpimpl.h | |
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/include/rtems/score/smpimpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/include/rtems/score/smpimpl.h b/cpukit/include/rtems/score/smpimpl.h index 2ffc047070..a8e3a3be15 100644 --- a/cpukit/include/rtems/score/smpimpl.h +++ b/cpukit/include/rtems/score/smpimpl.h @@ -40,7 +40,7 @@ #include <rtems/score/smp.h> #include <rtems/score/percpu.h> -#include <rtems/score/processormask.h> +#include <rtems/score/processormaskimpl.h> #include <rtems/fatal.h> #ifdef __cplusplus |