mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
core/kernel_defines: drop CONST definition
This is not used anywhere in RIOT, but causes conflicts with external library code. So let's just get rid of this.
This commit is contained in:
parent
7bc1fea55a
commit
2e7d35f760
@ -84,18 +84,6 @@ extern "C" {
|
||||
#define NORETURN
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @def CONST
|
||||
* @brief A function declared as *CONST* is #PURE and also not allowed to
|
||||
* examine global memory. I.e. a *CONST* function cannot even
|
||||
* dereference a pointer parameter.
|
||||
*/
|
||||
#ifdef __GNUC__
|
||||
#define CONST __attribute__((const))
|
||||
#else
|
||||
#define CONST
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @def PURE
|
||||
* @brief The function has no effects except the return value and its return
|
||||
|
Loading…
Reference in New Issue
Block a user