summaryrefslogtreecommitdiffstats
path: root/source/lib/system.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-09-18 03:53:14 +0000
committerAndrew Tridgell <tridge@samba.org>1998-09-18 03:53:14 +0000
commit926591067cd8646426ca06df0b00a1d6f6dd5752 (patch)
tree0e632c683faffdec1915cccb11f145cf278f077b /source/lib/system.c
parent4e784b18899eddd2399a51fa7d8c219560432922 (diff)
downloadsamba-926591067cd8646426ca06df0b00a1d6f6dd5752.tar.gz
samba-926591067cd8646426ca06df0b00a1d6f6dd5752.tar.xz
samba-926591067cd8646426ca06df0b00a1d6f6dd5752.zip
got rid of SMB_STRUCT_STATVFS. I don't think we should be defining
structures that only apply on some platforms.
Diffstat (limited to 'source/lib/system.c')
-rw-r--r--source/lib/system.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/source/lib/system.c b/source/lib/system.c
index 52be504c528..c3d97e0350f 100644
--- a/source/lib/system.c
+++ b/source/lib/system.c
@@ -179,21 +179,6 @@ int sys_lstat(char *fname,SMB_STRUCT_STAT *sbuf)
}
/*******************************************************************
- An statvfs() wrapper that will deal with 64 bit filesizes.
-********************************************************************/
-
-int sys_statvfs( const char *path, SMB_STRUCT_STATVFS *fsd)
-{
-#if defined(STAT_STATVFS64)
- return statvfs64(path, fsd);
-#elif defined(STAT_STATVFS)
- return statvfs(path, fsd);
-#else
- return -1;
-#endif
-}
-
-/*******************************************************************
An ftruncate() wrapper that will deal with 64 bit filesizes.
********************************************************************/