From e8aa632e137fcf3b0a8b8b5bffa7b4f55feb8658 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Sat, 1 Feb 2025 16:35:05 +1100 Subject: [PATCH] fix signature of _lseek() stub --- teensy4/startup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teensy4/startup.c b/teensy4/startup.c index 4bb3bd402..eed87e792 100644 --- a/teensy4/startup.c +++ b/teensy4/startup.c @@ -758,7 +758,7 @@ int _isatty(int fd __attribute__((unused))) } __attribute__((weak)) -int _lseek(int fd __attribute__((unused)), long long offset __attribute__((unused)), int whence __attribute__((unused))) +off_t _lseek(int fd __attribute__((unused)), off_t offset __attribute__((unused)), int whence __attribute__((unused))) { return -1; }