[PATCH 1/2] y2038: linux: Provide __mq_timedsend_time64 implementation
Joseph Myers
joseph@codesourcery.com
Wed Feb 12 01:05:00 GMT 2020
On Tue, 11 Feb 2020, Lukasz Majewski wrote:
> +int
> +__mq_timedsend (mqd_t mqdes, const char *msg_ptr, size_t msg_len,
> + unsigned int msg_prio, const struct timespec *abs_timeout)
> +{
> + struct __timespec64 ts64;
> + if (abs_timeout)
> + ts64 = valid_timespec_to_timespec64 (*abs_timeout);
> +
> + return __mq_timedsend_time64 (mqdes, msg_ptr, msg_len, msg_prio,
> + abs_timeout ? &ts64 : NULL);
> }
The indentation seems wrong here. Likewise in patch 2.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list