This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2] Use new style initializers in headers


Pavel Roskin <proski@gnu.org> writes:

> diff --git a/hurd/hurd/fd.h b/hurd/hurd/fd.h
> index 2473476..61b0147 100644
> --- a/hurd/hurd/fd.h
> +++ b/hurd/hurd/fd.h
> @@ -165,7 +165,7 @@ _hurd_fd_error (int fd, error_t err)
>    if (signo)
>      {
>        const struct hurd_signal_detail detail
> -	= { code: fd, error: err, exc: 0 };
> +	= { .code = fd, error: err, exc: 0 };

What about the other two?

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"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]