From d3285dcb5cd45ccea1e9a7cf439f61f771f08274 Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 16 Dec 2005 18:58:44 +0000 Subject: avoid dup symbol for os x --- src/libdiskfs/file.c | 4 ++-- src/libdiskfs/venti.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libdiskfs') diff --git a/src/libdiskfs/file.c b/src/libdiskfs/file.c index b72f053d..6843e341 100644 --- a/src/libdiskfs/file.c +++ b/src/libdiskfs/file.c @@ -2,6 +2,8 @@ #include #include +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) { diff --git a/src/libdiskfs/venti.c b/src/libdiskfs/venti.c index ba314388..5d8528c2 100644 --- a/src/libdiskfs/venti.c +++ b/src/libdiskfs/venti.c @@ -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 -- cgit v1.2.3