avoid dup symbol for os x
This commit is contained in:
parent
693cab16cc
commit
d3285dcb5c
2 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue