From 017b276a7623b6bdd1d3d0310c83d208114fb0d1 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 6 Dec 2006 14:36:41 +0000 Subject: Define ATTRIBUTE_PACKED and use as necessary. --- include/elf/external.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include/elf/external.h') diff --git a/include/elf/external.h b/include/elf/external.h index 5985e94b0..21450f005 100644 --- a/include/elf/external.h +++ b/include/elf/external.h @@ -245,11 +245,7 @@ typedef struct { typedef struct { unsigned char vs_vers[2]; -} -#ifdef __GNUC__ - __attribute__ ((packed)) -#endif - Elf_External_Versym; +} ATTRIBUTE_PACKED Elf_External_Versym; /* Structure for syminfo section. */ typedef struct -- cgit v1.2.3