toolchain.h: add __used macro

Change-Id: I252390fb125a569a975a093903eba42c8971629d
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2015-08-04 16:37:35 -07:00 committed by Anas Nashif
commit a13fddb7da
2 changed files with 2 additions and 1 deletions

View file

@ -32,7 +32,7 @@
#define _INIT_H_
#include <device.h>
#define __used __attribute__((__used__))
#include <toolchain.h>
#define PURE 1
#define PURE_EARLY 0

View file

@ -100,6 +100,7 @@ __extension__ ({ \
#define __aligned(x) __attribute__((aligned(x)))
#define __may_alias __attribute__((__may_alias__))
#define __printf_like(f, a) __attribute__((format (printf, f, a)))
#define __used __attribute__((used))
#define ARG_UNUSED(x) (void)(x)