From 87865838da97993a22a4414d29b6b90f5e750970 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 20 Aug 2003 00:08:24 +0000 Subject: [PATCH] Update. * string/bits/string2.h (__STRING2_COPY_TYPE): Add attribute to the type, not to name. --- ChangeLog | 3 +++ string/bits/string2.h | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fdd8074..eb19467 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-08-19 Ulrich Drepper + * string/bits/string2.h (__STRING2_COPY_TYPE): Add attribute to + the type, not to name. + * stdio-common/test-vfprintf.c (main): Don't write temporary file into source directory. diff --git a/string/bits/string2.h b/string/bits/string2.h index a02b055..1a58716 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 , 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); -- 2.7.4