summary refs log tree commit diff
path: root/string/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-08-20 00:08:24 +0000
committerUlrich Drepper <drepper@redhat.com>2003-08-20 00:08:24 +0000
commit87865838da97993a22a4414d29b6b90f5e750970 (patch)
tree3c386e048eb04e339657920111e6a087d9d27b03 /string/bits
parent5dfe677810a3550bc2cff4d4046261c7572fbae0 (diff)
downloadglibc-87865838da97993a22a4414d29b6b90f5e750970.tar.gz
glibc-87865838da97993a22a4414d29b6b90f5e750970.tar.xz
glibc-87865838da97993a22a4414d29b6b90f5e750970.zip
Update.
	* string/bits/string2.h (__STRING2_COPY_TYPE): Add attribute to
	the type, not to name.
Diffstat (limited to 'string/bits')
-rw-r--r--string/bits/string2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/string/bits/string2.h b/string/bits/string2.h
index a02b0558f1..1a58716710 100644
--- a/string/bits/string2.h
+++ b/string/bits/string2.h
@@ -1,5 +1,5 @@
 /* Machine-independant string function optimizations.
-   Copyright (C) 1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc.
+   Copyright (C) 1997-2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -76,7 +76,7 @@
    use unaligned memory accesses.  */
 # define __STRING2_COPY_TYPE(N) \
   typedef struct { unsigned char __arr[N]; }				      \
-    __STRING2_COPY_ARR##N __attribute__ ((packed))
+    __attribute__ ((__packed__)) __STRING2_COPY_ARR##N
 __STRING2_COPY_TYPE (2);
 __STRING2_COPY_TYPE (3);
 __STRING2_COPY_TYPE (4);