From 9f4a1e1c75e86a38da22a3e82980fcddc4e58717 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 31 Jan 2006 09:53:53 +0000 Subject: - add and use ATTRIBUTE_ALIGNED(num_bytes) - remove unused parameter pindex from fdisk.c, xbsd_initlabel() --- include/platform.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/platform.h b/include/platform.h index 763292d7a..773d6b8b2 100644 --- a/include/platform.h +++ b/include/platform.h @@ -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 -- cgit v1.2.3