summaryrefslogtreecommitdiffstats
path: root/source/client/umount.cifs.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2006-12-19 20:16:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:37 -0500
commitc60687db112405262adf26dbf267804b04074e67 (patch)
treee014f15e214e6219cf5c7d795666a7d1ddf8146d /source/client/umount.cifs.c
parent4090bc4bca77edafcafa52ecb7dc75ead2779cb5 (diff)
downloadsamba-c60687db112405262adf26dbf267804b04074e67.tar.gz
samba-c60687db112405262adf26dbf267804b04074e67.tar.xz
samba-c60687db112405262adf26dbf267804b04074e67.zip
r20261: merge 20260 from samba_3_0_24
clean up a bunch of no previous prototype warnings
Diffstat (limited to 'source/client/umount.cifs.c')
-rw-r--r--source/client/umount.cifs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/client/umount.cifs.c b/source/client/umount.cifs.c
index e762be8f062..3869e3439fc 100644
--- a/source/client/umount.cifs.c
+++ b/source/client/umount.cifs.c
@@ -138,7 +138,7 @@ static int umount_check_perm(char * dir)
return rc;
}
-int lock_mtab(void)
+static int lock_mtab(void)
{
int rc;
@@ -151,12 +151,12 @@ int lock_mtab(void)
}
-void unlock_mtab(void)
+static void unlock_mtab(void)
{
unlink(MOUNTED_LOCK);
}
-int remove_from_mtab(char * mountpoint)
+static int remove_from_mtab(char * mountpoint)
{
int rc;
int num_matches;