summaryrefslogtreecommitdiff
path: root/source3/lib/system.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-09 12:04:23 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-17 12:19:29 +0100
commit59d1faa1a30abd2a4e3cdaf0db1aa736283f822c (patch)
treebe256df6316338830b2bc879d8e82456c4b25715 /source3/lib/system.c
parent3b5326e987e3fe1f57502cbfd9d25b14cdf2b434 (diff)
downloadsamba-59d1faa1a30abd2a4e3cdaf0db1aa736283f822c.tar.gz
samba-59d1faa1a30abd2a4e3cdaf0db1aa736283f822c.tar.bz2
samba-59d1faa1a30abd2a4e3cdaf0db1aa736283f822c.zip
s3-lib Remove unused sys_fseek()
Diffstat (limited to 'source3/lib/system.c')
-rw-r--r--source3/lib/system.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index a308014f46..2342eda732 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -728,23 +728,6 @@ SMB_OFF_T sys_lseek(int fd, SMB_OFF_T offset, int whence)
}
/*******************************************************************
- An fseek() wrapper that will deal with 64 bit filesizes.
-********************************************************************/
-
-int sys_fseek(FILE *fp, SMB_OFF_T offset, int whence)
-{
-#if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(LARGE_SMB_OFF_T) && defined(HAVE_FSEEK64)
- return fseek64(fp, offset, whence);
-#elif defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(LARGE_SMB_OFF_T) && defined(HAVE_FSEEKO64)
- return fseeko64(fp, offset, whence);
-#elif defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(LARGE_SMB_OFF_T) && defined(HAVE_FSEEKO)
- return fseeko(fp, offset, whence);
-#else
- return fseek(fp, offset, whence);
-#endif
-}
-
-/*******************************************************************
An ftell() wrapper that will deal with 64 bit filesizes.
********************************************************************/