This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 04/11] Use clock_settime to implement settimeofday.
On 25/10/2019 17:42, Alistair Francis wrote:
> On Fri, Oct 25, 2019 at 5:09 AM Adhemerval Zanella
> <adhemerval.zanella@linaro.org> wrote:
>>
>> From: Zack Weinberg <zackw@panix.com>
[...]
>> +
>> +/* Set the system-wide timezone.
>> + This call is restricted to the super-user.
>> + This operation is considered obsolete, kernel support may not be
>> + available on all architectures. */
>> +int
>> +__settimezone (const struct timezone *tz)
>> +{
>> +#ifdef __NR_settimeofday
>> + return INLINE_SYSCALL_CALL (settimeofday, NULL, tz);
>> +#else
>> + __set_errno (ENOSYS);
>> + return -1
>
> You are missing a semi-colon here.
>
> Alistair
Ack, fixed.