treewide: remove FSF address
[osmocom-bb.git] / src / target / firmware / include / defines.h
blobe5d5436df8049aea08478e064cd11ced2ad66dc4
2 #ifndef _DEFINES_H
3 #define _DEFINES_H
5 #define __attribute_const__ __attribute__((__const__))
7 /* type properties */
8 #ifndef __packed
9 #define __packed __attribute__((packed))
10 #endif
12 #ifndef __aligned
13 #define __aligned(alignment) __attribute__((aligned(alignment)))
14 #endif
16 #ifndef __unused
17 #define __unused __attribute__((unused))
18 #endif
20 /* linkage */
21 #ifndef __section
22 #define __section(name) __attribute__((section(name)))
23 #endif
25 /* force placement in zero-waitstate memory */
26 #define __ramtext __section(".ramtext")
28 #endif /* !_DEFINES_H */