mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Update.
* string/bits/string2.h (__STRING2_COPY_TYPE): Add attribute to the type, not to name.
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
2003-08-19 Ulrich Drepper <drepper@redhat.com>
|
2003-08-19 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* 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
|
* stdio-common/test-vfprintf.c (main): Don't write temporary file
|
||||||
into source directory.
|
into source directory.
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/* Machine-independant string function optimizations.
|
/* 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.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
use unaligned memory accesses. */
|
use unaligned memory accesses. */
|
||||||
# define __STRING2_COPY_TYPE(N) \
|
# define __STRING2_COPY_TYPE(N) \
|
||||||
typedef struct { unsigned char __arr[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 (2);
|
||||||
__STRING2_COPY_TYPE (3);
|
__STRING2_COPY_TYPE (3);
|
||||||
__STRING2_COPY_TYPE (4);
|
__STRING2_COPY_TYPE (4);
|
||||||
|
Reference in New Issue
Block a user