diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 13 |
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. ********************************************************************/ |