diff --git a/src/Attributes.hh b/src/Attributes.hh new file mode 100644 index 0000000..b6fc423 --- /dev/null +++ b/src/Attributes.hh @@ -0,0 +1,17 @@ +/* Attributes.hh + * vim: set tw=80: + * Eryn Wells + */ +/** + * Defines for common compiler attributes. + * + * See https://gcc.gnu.org/onlinedocs/gcc/Type-Attributes.html for GCC + * attributes. + */ + +#ifndef __ATTRIBUTES_HH__ +#define __ATTRIBUTES_HH__ + +#define PACKED __attribute__((packed)) + +#endif /* __ATTRIBUTES_HH__ */