summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/dfree.c2
-rw-r--r--source3/smbd/proto.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/dfree.c b/source3/smbd/dfree.c
index 03541880e1..1a73132ae5 100644
--- a/source3/smbd/dfree.c
+++ b/source3/smbd/dfree.c
@@ -25,7 +25,7 @@
Normalise for DOS usage.
****************************************************************************/
-static void disk_norm(bool small_query, uint64_t *bsize,uint64_t *dfree,uint64_t *dsize)
+void disk_norm(bool small_query, uint64_t *bsize,uint64_t *dfree,uint64_t *dsize)
{
/* check if the disk is beyond the max disk size */
uint64_t maxdisksize = lp_maxdisksize();
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index ee91e9453d..07cfef5b5e 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -169,6 +169,7 @@ bool claim_connection(connection_struct *conn, const char *name);
/* The following definitions come from smbd/dfree.c */
+void disk_norm(bool small_query, uint64_t *bsize,uint64_t *dfree,uint64_t *dsize);
uint64_t sys_disk_free(connection_struct *conn, const char *path, bool small_query,
uint64_t *bsize,uint64_t *dfree,uint64_t *dsize);
uint64_t get_dfree_info(connection_struct *conn,