aboutsummaryrefslogtreecommitdiff
path: root/include/apos/attrs.h
blob: e088ec9e63a547dbd2b9af5a145db3e8a381fd09 (plain) (blame)
1
2
3
4
5
6
7
8
9
#ifndef APOS_COMPILER_ATTRIBUTES_H

#define __section(section)	__attribute__((__section__(section)))
#define __fmt(x, y)		__attribute__((format (__printf__, x, y)))
#define __noinline		__attribute__((noinline))
#define __weak			__attribute__((weak))
#define __packed		__attribute__((packed))

#endif /* APOS_COMPILER_ATTRIBUTES_H */