summaryrefslogtreecommitdiff
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
commit4828c1c3b8f2330066d6009502e6f21c4ce2764e (patch)
tree6e5101a6230b3959ca43fa14097d49af06928f95
parent5b4d94e20fdb5888da1b71a7b6a30ebede6cb06a (diff)
downloadsamba-4828c1c3b8f2330066d6009502e6f21c4ce2764e.tar.gz
samba-4828c1c3b8f2330066d6009502e6f21c4ce2764e.tar.bz2
samba-4828c1c3b8f2330066d6009502e6f21c4ce2764e.zip
Removed a redundant include for "includes.h"
Cleaned up a prototype warning message. smbumount.c now compiles warning free. (This used to be commit 3459541abc290bb709f2416736371e4a764c3d28)
-rw-r--r--source3/client/smbumount.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/client/smbumount.c b/source3/client/smbumount.c
index c3ba262010..5e072274c9 100644
--- a/source3/client/smbumount.c
+++ b/source3/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);