diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-09-18 03:53:14 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-09-18 03:53:14 +0000 |
commit | d1a82e643b2e75db8e0c5afa7280ca383917ba64 (patch) | |
tree | 3acd5efe87d22fd47c19e4d4ad657fef12e44d52 /source3/lib | |
parent | c7da9992cb39fc84a6a915dd2158beaf5e616617 (diff) | |
download | samba-d1a82e643b2e75db8e0c5afa7280ca383917ba64.tar.gz samba-d1a82e643b2e75db8e0c5afa7280ca383917ba64.tar.bz2 samba-d1a82e643b2e75db8e0c5afa7280ca383917ba64.zip |
got rid of SMB_STRUCT_STATVFS. I don't think we should be defining
structures that only apply on some platforms.
(This used to be commit 926591067cd8646426ca06df0b00a1d6f6dd5752)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/system.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c index 52be504c52..c3d97e0350 100644 --- a/source3/lib/system.c +++ b/source3/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. ********************************************************************/ |