Commit 72b4be6d authored by Philippe Gerum's avatar Philippe Gerum

boilerplate/compiler: drop __const and __pure shorthands

We have no in-tree users for these anymore. Besides, __const may be
conflicting with different definitions from legacy libc headers.
Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
parent 35d40276
...@@ -46,14 +46,6 @@ ...@@ -46,14 +46,6 @@
#define __weak __attribute__((__weak__)) #define __weak __attribute__((__weak__))
#endif #endif
#ifndef __const
#define __const __attribute__((__const__))
#endif
#ifndef __pure
#define __pure __attribute__((__pure__))
#endif
#ifndef __maybe_unused #ifndef __maybe_unused
#define __maybe_unused __attribute__((__unused__)) #define __maybe_unused __attribute__((__unused__))
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment