Re: [Aarch64] Fix _lseek prototype

Eric Blake <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On 10/1/18 4:35 PM, Christophe Lyon wrote:
> Hi,
> 
> While building newlib for Aarch64, I noticed a warning in _lseek. This
> small patch fixes the prototype.
> 

> +++ b/libgloss/aarch64/syscalls.c
> @@ -449,6 +449,7 @@ _swilseek (int fd, int ptr, int dir)
>       return -1;
>   }
>   
> +int
>   _lseek (int fd, int ptr, int dir)

Why int and not off_t?

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.