This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Jakub Jelinek <jakub@redhat.com> writes:
> --- libc/resolv/resolv.h.jj 2004-08-04 14:42:23.000000000 +0200
> +++ libc/resolv/resolv.h 2004-08-04 14:54:25.568907618 +0200
> @@ -134,6 +134,12 @@ struct __res_state {
> u_int16_t nscount6;
> u_int16_t nsinit;
> struct sockaddr_in6 *nsaddrs[MAXNS];
> +#ifdef _LIBC
> + unsigned long long int initstamp
> + __attribute__((aligned (sizeof (long))));
> +#else
> + unsigned int _initstamp[2];
> +#endif
You can't decrease alignment with the aligned attribute unless you also
add packed.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |