summaryrefslogtreecommitdiffstats
path: root/source/client/smbumount.c
diff options
context:
space:
mode:
authorMichael Warfield <mhw@samba.org>1998-09-30 03:02:35 +0000
committerMichael Warfield <mhw@samba.org>1998-09-30 03:02:35 +0000
commit3459541abc290bb709f2416736371e4a764c3d28 (patch)
tree63fcf3d7966ecf5741cc1b7c64836f8a3e369277 /source/client/smbumount.c
parenteca24bd24352c688cdf48c1ef14adb8ac353468f (diff)
downloadsamba-3459541abc290bb709f2416736371e4a764c3d28.tar.gz
samba-3459541abc290bb709f2416736371e4a764c3d28.tar.xz
samba-3459541abc290bb709f2416736371e4a764c3d28.zip
Removed a redundant include for "includes.h"
Cleaned up a prototype warning message. smbumount.c now compiles warning free.
Diffstat (limited to 'source/client/smbumount.c')
-rw-r--r--source/client/smbumount.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/client/smbumount.c b/source/client/smbumount.c
index c3ba2620109..5e072274c95 100644
--- a/source/client/smbumount.c
+++ b/source/client/smbumount.c
@@ -15,8 +15,6 @@
#include <linux/smb_mount.h>
#include <linux/smb_fs.h>
-#include "includes.h"
-
static char *progname;
static void
@@ -60,7 +58,7 @@ umount_ok(const char *mount_point)
is not a legal pathname for ``/dev/fd0.'' Anything we cannot parse
we return unmodified. */
char *
-canonicalize (const char *path)
+canonicalize (char *path)
{
char *canonical = malloc (PATH_MAX + 1);