[Aarch64] Fix _lseek prototype

Christophe Lyon <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CAKdteObmxuMd0_m-o4f3-jWwy4+u=px_FUCRHZyE-FLwtVfMCg@mail.gmail.com>
Hi,

While building newlib for Aarch64, I noticed a warning in _lseek. This
small patch fixes the prototype.

OK?

Christophe
newlib-6.txt (text/plain, 634 B)
commit 21997b227745a47a9257096c5cd172e17eaa823b
Author: Christophe Lyon <[email protected]>
Date:   Mon Oct 1 19:10:10 2018 +0000

    [Aarch64] Fix _lseek prototype
    
    2018-10-01  Christophe Lyon  <[email protected]>
    
    	* libgloss/aarch64/syscalls.c (_lseek): Fix prototype.

diff --git a/libgloss/aarch64/syscalls.c b/libgloss/aarch64/syscalls.c
index e6dd4bd..d6022fc 100644
--- a/libgloss/aarch64/syscalls.c
+++ 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)
 {
   return _swilseek (fd, ptr, dir);
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.