summaryrefslogtreecommitdiff
path: root/source3/smbd/dfree.c
diff options
context:
space:
mode:
authorUri Simchoni <uri@samba.org>2016-01-10 19:54:06 +0200
committerMichael Adam <obnox@samba.org>2016-01-26 15:58:12 +0100
commitde3c2ed0b1a6c786396435d8ea64359c9e17b1ba (patch)
tree90413a4c439c017a17a0f779dda40ab1ad63f9ec /source3/smbd/dfree.c
parenta8eea0c8b08a474f09cb39fa7aefe5687806d0d7 (diff)
downloadsamba-de3c2ed0b1a6c786396435d8ea64359c9e17b1ba.tar.gz
make disk_norm() static
Now that disk_norm() is being run centrally from the SMB layer it can be made static. Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/smbd/dfree.c')
-rw-r--r--source3/smbd/dfree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dfree.c b/source3/smbd/dfree.c
index 6b7993c16b8..62d2ea4791a 100644
--- a/source3/smbd/dfree.c
+++ b/source3/smbd/dfree.c
@@ -25,7 +25,7 @@
Normalise for DOS usage.
****************************************************************************/
-void disk_norm(uint64_t *bsize, uint64_t *dfree, uint64_t *dsize)
+static void disk_norm(uint64_t *bsize, uint64_t *dfree, uint64_t *dsize)
{
/* check if the disk is beyond the max disk size */
uint64_t maxdisksize = lp_max_disk_size();