[Aarch64] Fix _lseek prototype
Christophe Lyon
christophe.lyon@linaro.org
Mon Oct 1 21:37:00 GMT 2018
Hi,
While building newlib for Aarch64, I noticed a warning in _lseek. This
small patch fixes the prototype.
OK?
Christophe
-------------- next part --------------
commit 21997b227745a47a9257096c5cd172e17eaa823b
Author: Christophe Lyon <christophe.lyon@linaro.org>
Date: Mon Oct 1 19:10:10 2018 +0000
[Aarch64] Fix _lseek prototype
2018-10-01 Christophe Lyon <christophe.lyon@linaro.org>
* 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);
More information about the Newlib
mailing list