summaryrefslogtreecommitdiffstats
path: root/include/elf/external.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-12-06 14:36:41 +0000
committerNick Clifton <nickc@redhat.com>2006-12-06 14:36:41 +0000
commit017b276a7623b6bdd1d3d0310c83d208114fb0d1 (patch)
tree3c284857000bd5a564edc8243f27534ea5a0949c /include/elf/external.h
parentbf8ea306ec8956f8ffc245e5f8efef58a44eebca (diff)
downloadcygnal-017b276a7623b6bdd1d3d0310c83d208114fb0d1.tar.gz
cygnal-017b276a7623b6bdd1d3d0310c83d208114fb0d1.tar.bz2
cygnal-017b276a7623b6bdd1d3d0310c83d208114fb0d1.zip
Define ATTRIBUTE_PACKED and use as necessary.
Diffstat (limited to 'include/elf/external.h')
-rw-r--r--include/elf/external.h6
1 files changed, 1 insertions, 5 deletions
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