summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-02-07 10:20:36 -0800
committerJeremy Allison <jra@samba.org>2012-02-07 20:56:28 +0100
commit502186fe0ce4378e7eaf52bf33c38210cd0146cf (patch)
tree04e75f3bd627ffe563861d3fb0e40f21caf92b24 /source3/lib
parent27f6421fa6caecf832ec544e4d4115301e755556 (diff)
downloadsamba-502186fe0ce4378e7eaf52bf33c38210cd0146cf.tar.gz
samba-502186fe0ce4378e7eaf52bf33c38210cd0146cf.tar.bz2
samba-502186fe0ce4378e7eaf52bf33c38210cd0146cf.zip
Remove unused get_file_size() function.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Feb 7 20:56:28 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 2e432ab18e..b783c7e9c9 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -127,19 +127,6 @@ uint64_t get_file_size_stat(const SMB_STRUCT_STAT *sbuf)
}
/*******************************************************************
- Returns the size in bytes of the named file.
-********************************************************************/
-
-SMB_OFF_T get_file_size(char *file_name)
-{
- SMB_STRUCT_STAT buf;
- buf.st_ex_size = 0;
- if (sys_stat(file_name, &buf, false) != 0)
- return (SMB_OFF_T)-1;
- return get_file_size_stat(&buf);
-}
-
-/*******************************************************************
Show a smb message structure.
********************************************************************/