mirror of
https://github.com/samba-team/samba.git
synced 2025-03-03 12:58:35 +03:00
Removed a redundant include for "includes.h"
Cleaned up a prototype warning message. smbumount.c now compiles warning free.
This commit is contained in:
parent
eca24bd243
commit
3459541abc
@ -15,8 +15,6 @@
|
|||||||
#include <linux/smb_mount.h>
|
#include <linux/smb_mount.h>
|
||||||
#include <linux/smb_fs.h>
|
#include <linux/smb_fs.h>
|
||||||
|
|
||||||
#include "includes.h"
|
|
||||||
|
|
||||||
static char *progname;
|
static char *progname;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -60,7 +58,7 @@ umount_ok(const char *mount_point)
|
|||||||
is not a legal pathname for ``/dev/fd0.'' Anything we cannot parse
|
is not a legal pathname for ``/dev/fd0.'' Anything we cannot parse
|
||||||
we return unmodified. */
|
we return unmodified. */
|
||||||
char *
|
char *
|
||||||
canonicalize (const char *path)
|
canonicalize (char *path)
|
||||||
{
|
{
|
||||||
char *canonical = malloc (PATH_MAX + 1);
|
char *canonical = malloc (PATH_MAX + 1);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user