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 <diskfs.h>
int nfilereads;
typedef struct DiskFile DiskFile;
struct DiskFile
{
@ -9,8 +11,6 @@ struct DiskFile
int fd;
};
int nfilereads;
static long
preadn(int fd, void *vdata, u32int ulen, u64int offset)
{

View file

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