Warning fix.
This commit is contained in:
parent
f15075f9a4
commit
81d706ff38
|
@ -8,10 +8,7 @@
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
|
||||||
int
|
int
|
||||||
sys_seek(fp, off, whence, poff)
|
sys_seek(File* fp, long off, int whence, long* poff)
|
||||||
File *fp;
|
|
||||||
long off;
|
|
||||||
long *poff;
|
|
||||||
{
|
{
|
||||||
if (! fp) return 0;
|
if (! fp) return 0;
|
||||||
return (*poff = lseek(fp->o_fd, off, whence)) >= 0;
|
return (*poff = lseek(fp->o_fd, off, whence)) >= 0;
|
||||||
|
|
Loading…
Reference in a new issue