- add and use ATTRIBUTE_ALIGNED(num_bytes)

- remove unused parameter pindex from fdisk.c, xbsd_initlabel()
This commit is contained in:
Bernhard Reutner-Fischer
2006-01-31 09:53:53 +00:00
parent dfe6e74157
commit 9f4a1e1c75
3 changed files with 10 additions and 7 deletions

View File

@ -55,6 +55,10 @@
#define ATTRIBUTE_PACKED __attribute__ ((__packed__))
#endif /* ATTRIBUTE_NORETURN */
#ifndef ATTRIBUTE_ALIGNED
#define ATTRIBUTE_ALIGNED(m) __attribute__ ((__aligned__(m)))
#endif /* ATTRIBUTE_ALIGNED */
/* -fwhole-program makes all symbols local. The attribute externally_visible
forces a symbol global. */
#ifndef ATTRIBUTE_EXTERNALLY_VISIBLE