summaryrefslogtreecommitdiffstats
path: root/apps/osmocomBB/osmocomBB/include/defines.h
blob: 3c8732f92f8c086b825e70d7d51c980e41a79e40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _DEFINES_H
#define _DEFINES_H

#define __attribute_const__	__attribute__((__const__))

/* type properties */
#define __packed		__attribute__((packed))
#define __aligned(alignment)	__attribute__((aligned(alignment)))
#define __unused		__attribute__((unused))

/* linkage */
#define __section(name) __attribute__((section(name)))

/* force placement in zero-waitstate memory */
#define __ramtext __section(".ramtext")

#endif /* !_DEFINES_H */