mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
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 <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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue