diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-09 08:43:08 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-09 08:48:25 +0200 |
commit | acb53d53c900f21b5940554dfba8d7ad94f4bcba (patch) | |
tree | d32d39814572bf671afdb946a219ecc99d266480 /cpukit/posix | |
parent | 5bd75823bbf924ed7c306f88be910353d248e208 (diff) |
posix: Remove static assertion
Standard C does not allow pointer operands in an integer constant
expressions. GCC issues only a -Wpedantic warning in the removed static
assertion. However, clang is pedantic by default and issues an error.
Rely on the test case instead.
Diffstat (limited to 'cpukit/posix')
-rw-r--r-- | cpukit/posix/src/seminit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/posix/src/seminit.c b/cpukit/posix/src/seminit.c index 65104ad2c7..e752a2752b 100644 --- a/cpukit/posix/src/seminit.c +++ b/cpukit/posix/src/seminit.c @@ -22,8 +22,6 @@ #include <limits.h> -RTEMS_STATIC_ASSERT(NULL == SEM_FAILED, sem_failed); - /* * 11.2.1 Initialize an Unnamed Semaphore, P1003.1b-1993, p.219 */ |