avoid dup symbol for os x

This commit is contained in:
rsc 2005-12-16 18:58:44 +00:00
parent 693cab16cc
commit d3285dcb5c
2 changed files with 3 additions and 3 deletions

View file

@ -2,6 +2,8 @@
#include <libc.h> #include <libc.h>
#include <diskfs.h> #include <diskfs.h>
int nfilereads;
typedef struct DiskFile DiskFile; typedef struct DiskFile DiskFile;
struct DiskFile struct DiskFile
{ {
@ -9,8 +11,6 @@ struct DiskFile
int fd; int fd;
}; };
int nfilereads;
static long static long
preadn(int fd, void *vdata, u32int ulen, u64int offset) preadn(int fd, void *vdata, u32int ulen, u64int offset)
{ {

View file

@ -13,7 +13,7 @@ struct DiskVenti
VtCache *c; VtCache *c;
}; };
int nfilereads; extern int nfilereads;
/* /*
* This part is like file.c but doesn't require storing the root block * This part is like file.c but doesn't require storing the root block