netbsd fix

This commit is contained in:
Russ Cox 2005-12-29 21:02:41 +00:00
parent c5ee3aadd7
commit f067fbcaef
1 changed files with 2 additions and 0 deletions

View File

@ -419,11 +419,13 @@ kread(int fd, void *buf, long n, vlong *offp)
return n; return n;
} }
/* name conflicts with netbsd
long long
_sys_read(int fd, void *buf, long n) _sys_read(int fd, void *buf, long n)
{ {
return kread(fd, buf, n, nil); return kread(fd, buf, n, nil);
} }
*/
long long
_syspread(int fd, void *buf, long n, vlong off) _syspread(int fd, void *buf, long n, vlong off)