diff options
author | rsc <devnull@localhost> | 2005-12-16 18:58:44 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-12-16 18:58:44 +0000 |
commit | d3285dcb5cd45ccea1e9a7cf439f61f771f08274 (patch) | |
tree | cead92a0c745c8ce4e472dd63393a167fdfdce31 /src/libdiskfs | |
parent | 693cab16ccae2e3498ab3318c6a42e2a18c2099f (diff) | |
download | plan9port-d3285dcb5cd45ccea1e9a7cf439f61f771f08274.tar.gz plan9port-d3285dcb5cd45ccea1e9a7cf439f61f771f08274.tar.bz2 plan9port-d3285dcb5cd45ccea1e9a7cf439f61f771f08274.zip |
avoid dup symbol for os x
Diffstat (limited to 'src/libdiskfs')
-rw-r--r-- | src/libdiskfs/file.c | 4 | ||||
-rw-r--r-- | src/libdiskfs/venti.c | 2 |
2 files changed, 3 insertions, 3 deletions
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 <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) { 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 |