diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-08-29 09:10:25 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-08-30 06:59:37 +0200 |
commit | c2269908364cd60f78ba5aa747f9082a168e459b (patch) | |
tree | a08dc8526370d00d9ae45ab70ad4ea79a87ef12a /cpukit/include/rtems/score/interr.h | |
parent | score: Fix format (diff) | |
download | rtems-c2269908364cd60f78ba5aa747f9082a168e459b.tar.bz2 |
score: Do not expose <limits.h> to <rtems.h>
The <rtems.h> header file should not unnecessarily include standard C
header files. The <string.h> and <limits.h> header includes were
removed in 2017.
Update #4662.
Diffstat (limited to '')
-rw-r--r-- | cpukit/include/rtems/score/interr.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/include/rtems/score/interr.h b/cpukit/include/rtems/score/interr.h index 0616220040..ae4966d6d8 100644 --- a/cpukit/include/rtems/score/interr.h +++ b/cpukit/include/rtems/score/interr.h @@ -38,8 +38,6 @@ #ifndef _RTEMS_SCORE_INTERR_H #define _RTEMS_SCORE_INTERR_H -#include <limits.h> - #include <rtems/score/cpu.h> /** @@ -177,7 +175,7 @@ typedef enum { * This enum value ensures that the enum type needs at least 32-bits for * architectures with short enums. */ - RTEMS_FATAL_SOURCE_LAST = INT_MAX + RTEMS_FATAL_SOURCE_LAST = 0x7fffffff } Internal_errors_Source; /** |