From 81d706ff38463a7e142c07dd5940f78489cd4034 Mon Sep 17 00:00:00 2001 From: David Given Date: Sat, 16 Jul 2022 17:58:15 +0200 Subject: [PATCH] Warning fix. --- modules/src/system/seek.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/src/system/seek.c b/modules/src/system/seek.c index 97749ae12..ba52b845d 100644 --- a/modules/src/system/seek.c +++ b/modules/src/system/seek.c @@ -8,10 +8,7 @@ #include "system.h" int -sys_seek(fp, off, whence, poff) - File *fp; - long off; - long *poff; +sys_seek(File* fp, long off, int whence, long* poff) { if (! fp) return 0; return (*poff = lseek(fp->o_fd, off, whence)) >= 0;