[PATCH 1/2] Use new style initializers in headers
Andreas Schwab
schwab@redhat.com
Fri Aug 5 12:35:00 GMT 2011
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."
More information about the Libc-alpha
mailing list